I got this website from a friend of mines a while back. I'm new to programming so I've come here to seek knowledge from this community. I look forward to learning whatever you guys can teach me. C++ is something I've always wanted to learn.
Maybe someone can tell me if I wrote this correctly.
- Code: Select all
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
After I compiled and ran it. Is the program supposed to stay open? Because when I try to run HelloWorld.exe, the program just flashes on my screen and then disappears. I have no idea if I did it right or not.
Anyone have an answer for me? Thanks!



