Closed GoogleCodeExporter closed 9 years ago
Fixed, using a slightly different change.
bool
FileExists ( std::string path )
{
FILE *file;
file = fopen ( path.c_str(), "r" );
if ( file == NULL )
return false;
fclose ( file );
return true;
}
Original comment by steven.n...@gmail.com
on 7 Dec 2006 at 4:27
Even shorter, good job :P
Original comment by omo...@gmail.com
on 7 Dec 2006 at 3:11
Original comment by steven.n...@gmail.com
on 20 May 2007 at 9:50
Original issue reported on code.google.com by
omo...@gmail.com
on 6 Dec 2006 at 4:46Attachments: