08-18-2010, 04:53 PM
A "Hello World" program in C++ that shows up for a pre-set amount of time, then closes.
Code:
#include <iostream>
#include <windows.h>
using namespace std;
int main ()
{
cout << "Hello World";
Sleep(1000);
return 0;
}