[求助]新手的烦恼
各个大哥大姐 ` 我刚学C++ 用Microsoft Visual Studio 2005编写程序但老是运行不了` 代码都是在书上照着吵写去的 但还是不行
例如:
#include <iostream>
int main()
{
using namespace std;
cout<<"Come up and C++ me some time."<<endl;
return 0;
}
2007-05-21 11:00
2007-05-21 11:06
2007-05-21 11:08
2007-05-21 11:13
2007-05-21 11:30
2007-05-21 12:07
2007-05-21 13:00
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout<<"Come up and C++ me some time."<<endl;
return 0;
}
再试试,我用的也是VC2005,我的能运行

2007-05-21 13:39
2007-05-21 15:58
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout<<"Come up and C++ me some time."<<endl;
return 0;
}
再试试,我用的也是VC2005,我的能运行
这个也能运行 ` 呵呵

2007-05-21 15:58