开头难哦~~~
一个简单的问题。
对编译的结果不明白是什么原因:(
程序:
#include<iostream.h>
void swap(int*X,int*y);
void main()
{
int a=7,b=11;
swap(&a,&b);
cout<<"a="<<a<<"b="<<B<<endl;

}
void swap(int*x,int*y)
{
int temp;
temp=*x;*x=*y;*y=temp;
}
编译显示出错:
f:\c++\xiangjun\xiangjun.cpp(16) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.xiangjun.exe - 1 error(s), 0 warning(s)
怎么解决?