Open ooolky opened 10 months ago
std::string current_path = getcwd(NULL, 0);
std::string config_name = "config.txt";
std::string config_path = current_path + "\\" + config_name;
if (!PathExists(config_path))
{
std::cout << "[error]Load config fail: config not exits, please put config.txt in root directory" << std::endl;
}
./
获取当前路径失败。