📅  最后修改于: 2022-03-11 14:44:53.754000             🧑  作者: Mango
//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;
}