问题:
ubuntu解决error: 'fopen_s' was not declared in this scope
参考:
解决:
#ifdef __unix
#define fopen_s(pFile,filename,mode) ((*(pFile))=fopen((filename), (mode)))==NULL
#endif
博客主要围绕在Ubuntu系统中遇到的 'fopen_s' 未声明问题展开,给出了参考链接https://stackoverflow.com/questions/1513209/is-there-a-way-to-use-fopen-s-with-gcc-or-at-least-create-a-define-about-it ,但未详细说明具体解决办法。
问题:
ubuntu解决error: 'fopen_s' was not declared in this scope
参考:
解决:
#ifdef __unix
#define fopen_s(pFile,filename,mode) ((*(pFile))=fopen((filename), (mode)))==NULL
#endif
1874
6526
2633

被折叠的 条评论
为什么被折叠?