会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Xaopng's Blog
博客园
首页
新随笔
联系
订阅
管理
2022年12月12日
在visual studio 2017中realpath在<cstdlib>头文件中未定义如何解决?
摘要: 在 Visual Studio 2017 中,realpath 函数不在 头文件中,因为它属于 POSIX 标准而不是 C 标准。要使用 realpath 函数,你可以在你的代码中包含头文件 <stdlib.h> 并使用函数名 _fullpath 代替。这个函数的功能和 realpath 函数相同。
阅读全文
posted @ 2022-12-12 11:07 xaopng
阅读(344)
评论(0)
推荐(0)
公告