Page 1 of 2

Stupid people at their finest

Posted: Thu Jan 22, 2009 10:42 pm
by dandymcgee
Here's a conversation I spotted on another (clearly far less competent) C++ forum.

First Guy:
// operating with variables

#include <iostream>
using namespace std;

int main ()
{
// declaring variables:
int a, b;
int result;

// process:
a = 5;
b = 2;
a = a + 1;
result = a - b;

// print out the result:
cout << result;

// terminate the program:
return 0;
}

There you learned c++.
Second Guy:
I lol'd when I saw this maybe give something a little more difficult then a level 1 program to think your a hot shot. Btw your coding method is horrible let me make it prettier for you ;).


#include <iostream>
using namespace std;

void main ()
{

int a = 6; // Variable 'a' is declared and equal to 6
int b = 2; // Variable 'b' is declared and equal to 2
int result; // Variable "result" is declared

result = a - b; // Process

cout << result; // Output the result. Should be 4

system ( " pause " ); // Pauses the program when it finishes
}
:lol:

Re: Stupid people at their finest

Posted: Thu Jan 22, 2009 10:49 pm
by Arce
You're unbanned? May I see the protest you sent Marauder? :lol:

Re: Stupid people at their finest

Posted: Thu Jan 22, 2009 11:53 pm
by LeonBlade
I don't get it...

Re: Stupid people at their finest

Posted: Fri Jan 23, 2009 12:06 am
by Falco Girgis
LeonBlade wrote:I don't get it...
LMAO!!!!!!!!!!

Re: Stupid people at their finest

Posted: Fri Jan 23, 2009 12:23 am
by LeonBlade
Is it main being void and not returning anything not an integer...
I haven't used C++ in a while (gotta freshen up)

Re: Stupid people at their finest

Posted: Fri Jan 23, 2009 10:12 am
by programmerinprogress
I like the fact that the guy thinks he's great because he initialised his variables straight away and commented EVERY line of code.

Also, I never spotted the 'void main' , but that's because I didn't think anyone was stupid enough to do that :lol:

also, you're haven't even made a dent into C, never mind C++ with that code, I bet they would probably wet themselves if they saw a typical SDL application!

*the pointers would fry their brains and the references would make them cry*

Re: Stupid people at their finest

Posted: Fri Jan 23, 2009 12:45 pm
by dandymcgee
Arce wrote:You're unbanned? May I see the protest you sent Marauder? :lol:
Here
GyroVorbis wrote:
LeonBlade wrote:I don't get it...
LMAO!!!!!!!!!!
:lol:

Re: Stupid people at their finest

Posted: Fri Jan 23, 2009 4:18 pm
by LeonBlade
Lol... joke wasn't that funny...
But I get it... it's the opposite of "neater" lol

Re: Stupid people at their finest

Posted: Sun Jan 25, 2009 10:06 am
by dandymcgee
It still seems as if everybody (aside from Falco of course) has skipped right over what actually made this funny:

Code: Select all

system ( " pause " ); // Pauses the program when it finishes
If you STILL don't understand this article is a must read:
C++ - system("pause")

Re: Stupid people at their finest

Posted: Sun Jan 25, 2009 1:36 pm
by LeonBlade
It's still not funny lol

Re: Stupid people at their finest

Posted: Sun Jan 25, 2009 8:30 pm
by dandymcgee
LeonBlade wrote:It's still not funny lol
Then why'd you laugh?

Re: Stupid people at their finest

Posted: Mon Jan 26, 2009 1:10 am
by LeonBlade
I didn't...

Re: Stupid people at their finest

Posted: Mon Jan 26, 2009 7:51 pm
by MarauderIIC
temp.jpg
temp.jpg (19.13 KiB) Viewed 1928 times

Re: Stupid people at their finest

Posted: Mon Jan 26, 2009 8:08 pm
by Ginto8
If only for the sake of argument, he's laughing at the fact that it isn't funny. :|

Re: Stupid people at their finest

Posted: Mon Jan 26, 2009 8:26 pm
by dandymcgee
But that's just it.. it IS funny. Or at least it was.. now it has just been turned into a debate like everything else recently. Why can't people just say "Ha." or leave it alone? (Rhetorical question.. not asking for further debate).