在项目,会用到各种路径的拼接和判断文件存在,实现方式如下
#ifndef __COMMON_HPP_
#define __COMMON_HPP_
#include <sys/stat.h>
#include <dirent.h>
#include <cstring>
//@deprecated , replace with AlgoType
std::string JoinPath(<
在项目,会用到各种路径的拼接和判断文件存在,实现方式如下
#ifndef __COMMON_HPP_
#define __COMMON_HPP_
#include <sys/stat.h>
#include <dirent.h>
#include <cstring>
//@deprecated , replace with AlgoType
std::string JoinPath(<