int main() {
char image_real_path[2048];
void *buff = nullptr;
float *d = reinterpret_cast<float *>(buff);
std::string image_path = "/home/huawei/CLionProjects/untitled14/cmake-build-debug/Makefile";
auto res = realpath(image_path.c_str(), image_real_path);
std::cout << "Hello, World!" << std::endl;
return 0;
}
realpath的使用
最新推荐文章于 2025-03-30 21:30:54 发布