[求助]新手的烦恼
各个大哥大姐 ` 我刚学C++ 用Microsoft Visual Studio 2005编写程序但老是运行不了` 代码都是在书上照着吵写去的 但还是不行
例如:
#include <iostream>
int main()
{
using namespace std;
cout<<"Come up and C++ me some time."<<endl;
return 0;
}
#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,我的能运行
这个也能运行 ` 呵呵