I have just started programming in C++ tonight. When I run the program "Hello World" it comes up real fast and it disapears. It says it compiled right and I can see the text "Hello World" in the box before it closes. What syntax should i use to keep the box from closing.
thx in advance
Here is the code that I am using
#include <iostream.h>
void main()
{
cout <<"Hello World!\n";
}
thx in advance
Here is the code that I am using
#include <iostream.h>
void main()
{
cout <<"Hello World!\n";
}