1. 程式人生 > >C++執行介面一閃而過解決

C++執行介面一閃而過解決

#include<iostream>
#include <stdlib.h>  #切記匯入這個標頭檔案
using namespace std;
 
int main() {
cout << "Hello Word"<<endl;
system("pause");  #讓介面不是一閃而過
return 0;
}

注意:VS2012以上版本才支援C++ 11新特性