📌  相关文章
📜  Visual Studio代码终端不断关闭C++代码示例

📅  最后修改于: 2022-03-11 14:44:53.754000             🧑  作者: Mango

代码示例1
//add system("pause"); before return 0; in main()
#include 
int main()
{
      std::cout << "Hello world!" << endl; //system("pause") dont make new line so you will need the endl
    system("pause");
      return 0;
}