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>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章