最近看到一个程序,前边的基本上都能看懂,只是遇到这么一个错误:D:\应用软件\VisualC++\MSDev98\MyProjects\02\mco.cpp(130):e... 最近看到一个程序,前边的基本上都能看懂,只是遇到这么一个错误:
D:\应用软件\Visual C++\MSDev98\MyProjects\02\mco.cpp(130) : error C2065: 'errno_t' : undeclared identifier
不知道怎么回事,到底什么是'errno_t' 呢,原代码中有这么一句: errno_t err;
if(err=fopen_s(&p, "mco.log", "w")) throw "File open failed";
那位大哥指点指点,感激不尽~~