各位好,本人把visual studios删除装了visual studio.net后无法编译cpp文件,visual studio.net
中的编译按纽老是透明,请问怎样设置或者能否编译,程序为#include <iostream.h>
main(){
int i,j;
cout<<"input i and j"<<endl;
cin>>i>>j;
cout<<"i+j result is"<<i+j<<endl;
}
中的编译按纽老是透明,请问怎样设置或者能否编译,程序为#include <iostream.h>
main(){
int i,j;
cout<<"input i and j"<<endl;
cin>>i>>j;
cout<<"i+j result is"<<i+j<<endl;
}
解决方案 »
- 求助VS2010运行MFC后多出了启动项怎么解决
- 用IPicture显示图片为什么显示不出来啊
- 鎬庢牱鍦–RichEditCtrl涓彃鍏ュ悇绉嶇被鍨嬬殑鍥剧墖, 鎬?!!
- 使用CDialogBar出错。大家帮忙呀
- 哪位做过在FormView中放置ListCtrl控件?
- 如何为ListBox的Item加入图标
- DBF文件加密了,打开文件提示 不是一个表 怎样才能读出数据!谢谢
- IE里如果通过网页形式设置本机ip地址和其它网络设置
- 那里有Borland c++5.0下栽(不是c++ builder)
- 求问!!虚拟磁盘和进程的问题
- 如何改变CListCtrl字体,每行的高度
- 如何应用WM_DATACOPY消息
file->new->project
弹出对话框后选择win32控制台项目,输入项目名称点击完成就ok了
你的程序改一个地方:将#include <iostream.h>改为
#include <iostream> //不要也可以,因为stdafx.h里面已经有了
using namespace std;
按 csnew(反恐Sharp)的做,一定是何以的!!!先建一个工程,方法如下
file->new->project
弹出对话框后选择win32控制台项目,输入项目名称点击完成就ok了
你的程序改一个地方:将#include <iostream.h>改为
#include <iostream> //不要也可以,因为stdafx.h里面已经有了
using namespace std;