更新时间:2023-08-23 11:46:22
原因是因为是,包括Windows.h: 。
reason why is because something is including Windows.h: the compiler is not lying to you.
转到项目属性 - >配置属性 - > C / C ++ - >高级,并将显示包含设置为是。然后构建,编译器将显示一个列表中找到每个包含的文件,并按照它找到它的顺序,因此告诉你哪个文件最终包括windows.h
Go to project Properties->Configuration Properties->C/C++->Advanced and set Show Includes to Yes. Then build, and the compiler will show you a list with every included file found, and in the order it finds it, hereby telling you which file eventually includes windows.h