为什么那么多undeclared identifier

来源:百度文库 编辑:神马文学网 时间:2024/05/29 07:20:57
 为什么那么多"undeclared identifier"   当编译VC文件时出现很多"undeclared identifier"错误报告的解决办法: 把“#define   _WIN32_WINNT   0X0500 ” 这句加在stdafx.h文件的include前面,这是一个版本的问题!!!   
    
  “LINK   :   fatal   error   LNK1104:   cannot   open   file   "mfc42ud.lib"    Error   executing   link.exe.   ”错误的解决方法:        把调试改为WIN32 Debug。             
  “Unreferenced local variable?” 是声明了变量,但是后面没有使用到。