想在win32 console application 下运行,选的“一个小程序”,程序确认没问题,但是编译时提示有一个错误:
--------------------Configuration: 比较大小 - Win32 Debug--------------------
Compiling...
Command line warning D4024 : unrecognized source file type 'stdafx.h', object file assumed
Command line warning D4027 : source file 'stdafx.h' ignored
比较大小.cpp
e:\program files\microsoft visual studio\myprojects\比较大小\比较大小.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/比较大小.pch': No such file or directory
执行 cl.exe 时出错.
是哪里没设置好吗?第一次运行vc。