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>