c++ 编译报错 there are too many errors for the intellisense engine to function properly的解决

c++ 编译报错 there are too many errors for the intellisense engine to function properly

同样的工程代码移植到新的工程里就报错如上,查询stackoverflow后发现头文件的引用顺序需要有限定

stdafx.h文件里,在#pragma once之后这么写就可以解决

#pragma once
#define WIN32_LEAN_AND_MEAN
// Windows Header Files:
#include <windows.h>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章