Answers for "check directory exists cpp boost"

C++
4

check if directory exists cpp

#include <sys/stat.h>

bool IsPathExist(const std::string &s)
{
  struct stat buffer;
  return (stat (s.c_str(), &buffer) == 0);
}
Posted by: Guest on June-28-2021

Code answers related to "check directory exists cpp boost"

Browse Popular Code Answers by Language