解決方式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