POV-Ray : Newsgroups : povray.programming : DF3 utility : Re: DF3 utility Server Time: 24 Jul 2008 09:47:11 GMT
  Re: DF3 utility  
From: nemesis
Date: 31 Jan 2008 00:27:13
Warp escreveu:
>     std::ifstream is("testdata.txt");
>     if(!is.good()) { std::cerr << "Couldn't open testdata.txt\n"; return 1; }

hehe, pretty cool idiom for testing a file... is.good() :)


Post a reply to this message

Copyright 1991-2004 POV-Team™