@rmxhaha
I had the same idea that it was running somewhere else, but it is not in the taskbar and I don't see any other apps that could be running it either.
#include <iostream>
usingnamespace std;
int main()
{ // <---- Notice the opening bracket
cout << "Hi world!";
return 0; // <---- Also make sure to keep things indented neatly
} // <--- Closing bracket
Once you get farther along (Mainly when you learn about different scopes and functions) the opening and closing brackets (Code blocks) will make more sense to you.
He doesn't need to include that and since he is just beginning with the hello world application it probably would just confuse things even more so there is no need to include it specially since it is VS only.
This is probably unrelated but perhaps you should check
I had this problem on every compile
that the program run, then the window close but the process doesn't
I have to taskkill the program and delete them everytime I want to compile,
Then I realize there "Sality" in my laptop, After I format and re install everything, everything back to normal
Try running the compiled executable manually ( by double clicking it from window explorer )