Quote Originally Posted by Sdyess94 View Post
Code:
#include <iostream>

void main()
{
 using namespace std;
 cout << "Hello World" << endl;
 cin.get();
 }
Code:
cin.get();
is not needed at all. If you use visual studio then just press ctrl + f5 to execute the application.



If you dont have visual studio, then i suggest that you use
Code:
system("pause");
instead.