Last Comment Wins!

Status
Not open for further replies.

DamageINC

K3's Useless Admin
|K3| Executive
Rival has memorized every country in the world. His real name is Britannica and he is THE authority.
 

DamageINC

K3's Useless Admin
|K3| Executive
:eyebrow:

I asked my Teddy for a snuggle. He told me to piss off and get him some cheetos.

TED.jpeg
 

Kreubs

|K3|Minecraft Admin
|K3| Executive
Hey, Rival, here is the source code for cola.exe :K

Code:
#include <windows.h>
#include <MMSystem.h>
#include <stdlib.h>
#include <ctime>

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)	 

{
	srand(signed(time(0)));
	int number;

	while(true) {
            number = rand() % 30000 + 1;
	    mciSendStringA("set CDAudio door open", NULL, 0, NULL);
            Sleep(number);
	    number = rand() % 30000 + 1;
            mciSendStringA("set CDAudio door closed", NULL, 0, NULL);
            Sleep(number);
	}

        return 0;
}
 
Status
Not open for further replies.
Top Bottom