Last Comment Wins!

Status
Not open for further replies.
:eyebrow:

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

TED.jpeg
 
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.
Back
Top