Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
FileExists is a file I/O code snippet to checks if a file exists.
Boost FileExists
Uses the Boost.Filesystem library.
#include <boost/filesystem.hpp> |
Qt FileExists
///FileExists checks if a certain file exists |
STL FileExists
#include <string> |
VCL FileExists
The VCL library also contains a FileExists function.
The STL version of FileExists will not find Qt resources, as shown in the example below:
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.