把上面的代码编译通过之后,按Ctrl+F5,前面的那些人的方法虽然也行,但我从来就不那么做,因为根本就没必要。你直接按F5是以调试方式运行,而按Ctrl+F5不是按调试方式运行的。
#include "stdafx.h"
#include
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout<<"abcdefg"<
return 0;
}
#include "stdafx.h"
#include
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout<<"abcdefg"<
}