#include <boost/filesystem.hpp>bool fexists(char *file){ if(boost::filesystem::exists(file)) { return true; } else return false; return ;}