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>