Breaking Sec

Full Version: Timed Hello World [C++]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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;
}
Reference URL's