Need help with the simple "hello world" program

I am having a problem with the hello world program. It use to work fine then all of a sudden this "line" dissapeared and i don't know how to get it back.
The line should be on the left side from the first { to the next }
1
2
3
4
5
6
7
8
9
10
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello World!";
    return 0;
}


Please help me out
what line are you talking about?
I'm really new at this so I'm not sure whats it called. I also can't seem to find a way to import a photo.
I see nothing wrong with the program you posted.

If you're running in a Windows console window, the console window will close immediately after displaying line 7.
http://www.cplusplus.com/forum/beginner/1988/

Again, if you're running from a console window, you can simply copy and paste here.
no problem, but we are going to need more information to help you. you cant add pictures to this site, but you can sites like imgur.com and link to the picture
Topic archived. No new replies allowed.