This just runs a console window and nothing shows up, no errors.. VS.NET

Code:
#include <windows.h>
#include <iostream.h>

void main()
{
	bool OK = 0;
	long TEMP = 0;
	long LASTTIME=0;
	long DELAY = 500;

	do
	{
		TEMP = GetTickCount();
		if (TEMP >= LASTTIME + DELAY)
		{
			cout << "Tick TocK\n";
		}
		LASTTIME = TEMP;
	}while(OK == 0);

}