开头难哦~~~
一个简单的问题。
对编译的结果不明白是什么原因:(
程序:
#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)
怎么解决?
一个简单的问题。
对编译的结果不明白是什么原因:(
程序:
#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)
怎么解决?
解决方案 »
- 请教关于HTTP编程的问题
- ATL与MFC结合开发插件
- 关于installshield 的脚本语言中函数launchappandwait
- 不能修改资源
- 要饿死了。救俺。
- 求助一个关于MFC的问题
- 初学 有个对我来说好久也没有解决的问题 来着有分
- ▲▲▲100分求解一个关于Installshield 的问题,为何DAO对象不可以正确注册!!!
- c++ primer
- 急!!如何更改与CRecordSet类相关联的数据源?
- 有一个异常有关线程中调用GetActiveView大家帮忙分析一下!问题解决立即散分谢谢各位
- 请教::如何实现 任务管理器 中 性能标签 里面的 CPU使用记录的效果??他是怎么画出来的?
该是小写的b,不是B,改过就没问题了