5bool is_dir(std::string sPathname);
6bool is_file(std::string sPathname);
bool is_file(std::string sPathname)
This function checks whether a given string is a valid file path.
bool is_dir(std::string sPathname)
This function checks whether a given string is a valid directory path.