这到底是什么地方有错误???谢谢!
// c4.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream.h>
void main()
//int main(int argc, char* argv[])
{
int a,b;
cout<<"请输入两个整形数:";
cin>>a>>b;
if(a!=b)
if(a>b)
cout<<a<<">"<<b<<endl;
else
cout<<a<<"<"<<b<<endl;
else
cout<<a<<"="<<b<<endl;
}
编译完后,有下面的提示:
--------------------Configuration: c4 - Win32 Debug--------------------
Compiling...
c4.cpp
f:\hgy\c4\c4.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/c4.pch': No such file or directory
执行 cl.exe 时出错.
c4.obj - 1 error(s), 0 warning(s)