差了代码您写的是cout << "Hello, world";正确的应该为: cout << "Hello, world" << endl;
cout << "Hello, world";
cout << "Hello, world" << endl;
这边还是建议下载Dev-c++