解决方式1:
在程序中添加 system("pause");
// Hello Zego.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "iostream"
using namespace std;
int main()
{
printf("hello Zego\n");
system("pause");
return 0;
}
解决方式2:
运行程序时使用 :Ctrl+F5
解决方式1:
在程序中添加 system("pause");
// Hello Zego.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "iostream"
using namespace std;
int main()
{
printf("hello Zego\n");
system("pause");
return 0;
}
解决方式2:
运行程序时使用 :Ctrl+F5