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

My awesome C++ triangle

Name: GOD_HATES_THE_JEWS 2012-02-18 10:49

//Homework 2, question 5

#include <iostream>
using namespace std;

int main(void)
{
 int n;
 int r, c;

 cout << "Enter a number: ";
 cin >> n;
 
 n = 2 * n + 2;
 
 for (r = 1; r <=n; r++, cout << endl)
     for (c = 1; c <=n; c++)
         cout << (r==1 || r==n || c==1 || c==n
              || r >= c || (r+c < n+1) ? ' ' : '*');

 return 0;  
}

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-02-20 8:27

>>40
I'm the same person you foolholio. Now let's all wait for some brilliant response from this no talent bitch that doesn't write code for a living.

Name: Anonymous 2012-02-20 8:32

You should write this in D

Name: Anonymous 2012-02-20 8:34

>>42
Yo homegirl, stop fagging up my 4chan experience. Thank you.

Name: Anonymous 2012-02-20 9:21

kodak_gallery_programmer!!kCq+A64Losi56ze
you still haven't demonstrated anything beyond the ability to call people names.


This applies to someone else in this thread, too. Just fuck off.

Name: Anonymous 2012-02-20 9:29

>>41

#include <stdio.h>
int main(int argc,char *argv[]) { puts("Look at me writing my one liners, I'm just a cool ass java codemonkey that thinks triangles are so hard. Man, programming is so hard. I doubt other people could manage to do such things as I do with their limited mental capability."); }

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-02-20 18:30

>>45
I didn't think this was possible, but yes, wait for it...YOUR PROGRAM HAS UNDEFINED BEHAVIOR! Wow. Just wow.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-02-20 18:35

>>45
I think someone needs to practice drawing some triangles.

Name: Anonymous 2012-02-20 19:07

>>45
Thanks for trolling kodak!

Name: Anonymous 2012-02-20 19:07

>>46
>>47
Kodak-san, why do you samefag so much to try and make yourself seem anymore better than the next anonymous faggot on this board?


If anything you just make yourself look like a toilet scrubber who does nothing but sit on this board attempting to make fun of other people while failing to provide a single drop of evidence for your own success.

Your trolling is getting beyond ridiculously and I've quite had it with you and your java codemonkey manners.

With that being said, I have reported you. Hopefully moot decides to purge this board of shitposters like you that have the mental capacity of a 2 year old.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-02-20 19:17

>>48
I'm not trolling. There was a discussion revolving around a similar problem like maybe 2 months ago. Dunno, I might actually dig up the pold post since are a total clueless douchebag.

Name: Anonymous 2012-02-20 19:19

>>49
read >>50 you hoser. Geeze. Now I see why you all are in fact toilet scrubbers.

Name: Anonymous 2012-02-20 19:20

>>50
kodak, you're a shitposter and a troll. You're everything wrong with tripfags. You are at times as bad as FrozenVoid and then on top of that you think so highly of yourself when in reality you're just a shitty java codemonkey.

Name: Anonymous 2012-02-20 19:26

>>52
You're just mad because you still can't spot the undefined behavior in the program. Now pee wee, maybe you should give it a rest, find the old thread in question, try to follow it, and then see what I just saw right away.

Name: Anonymous 2012-02-20 19:32

>>51
oh look, kodak is samefagging again to try and make himself more relevant.

>>53
>You're just mad because you still can't spot the undefined behavior in the program.
Really kodak? I never knew this whole time I was suppose to be looking for undefined behavior in the code posted. Way to completely switch the topic on us. It's not even hard to spot anyway considering the function `int main...' has no return statement.

>maybe you should give it a rest, find the old thread in question, try to follow it, and then see what I just saw right away.

Oh, so now we switch the topic again and now you want me to find you some shitty thread posted months/years ago? Good one, how about you be the little codemonkey you're and do it for us.

Name: Anonymous 2012-02-20 19:36

>>54
The person that posted that code is clueless. The fact that he was trying to make himself look smart makes him that much dumber. Now go away. You're not only dumb, but you're also boring. And yes, that's bad. Hell, even the clueless computer science major who is dumber than a box a rocks is more interesting that you.

Nice job homer. You're below average!

Name: Anonymous 2012-02-20 19:40

>>55
Seeing as how you have a mental capacity of a baby, and can only argue by spouting out ad hominems like no other, I can see there's little hope with discussing anything with an ignorant dense pleb such as yourself.

Go off, enjoy your life as a codemonkey sheep. Enjoy thinking you're special when in fact you're not.

Name: Anonymous 2012-02-20 19:44

>>56
You're just mad because you know that deep inside you will never amount to anything more than some tech support monkey.

Name: Anonymous 2012-02-20 19:45

>>57
Keep the ad hominems flying kodak. Someday you might win the argument, oh wait....

Name: Anonymous 2012-02-20 19:54

>>58
And one day you might get a clue about programming. Oh wait...How not cute. You're hooching my one liners again.

Name: Anonymous 2012-02-20 19:57

>>59
You think you own the rights to one liners like "Oh wait..." or "Someday you might win the argument"?


Thank you for further showing how big of a moron you truly are

Name: Anonymous 2012-02-20 19:59

>>60
No, but i like to claim that I have enough of a brain to come up with my own creative insults. Now go run off and molest another cow.

Name: Anonymous 2012-02-20 20:06

>>61
Yes, because you're the only one that is allowed to use stock insults.

Please, get a life and grow up kid. Come back when you're mature enough to be on a textboard and act properly.

Name: Anonymous 2012-02-20 20:09

>>62
As opposed to repeating what you see? Now again, you still haven't told us what you do for a living. Are you ashamed of your $18.25/hr general labor job?

Name: Anonymous 2012-02-20 20:11

>>63
>As opposed to repeating what you see?

says the man that sits on textboards all day calling people mental midgets and toilet scrubbers because he can't come up with a decent insult to save his life

Name: Anonymous 2012-02-20 20:15

>>64
Is that why you insist on stealing mine you moron?

Name: Anonymous 2012-02-20 20:17

>>65
Stealing? Ha... Please kodak-san, take the time to come up with better comebacks than just insisting i stole your words.

2 year olds can troll better than you can.

Name: Anonymous 2012-02-20 20:22

>>66
I'm being honest you minimum wage idiot. I use some lame line, tnen like the dumb faggot you are, you use the same damn thing 4 posts later. Now again you mental midget, what do you do for a living?

Name: Anonymous 2012-02-20 20:26

>>67
Again, there you go with the baseless ad hominems.

It amazes me how trolls can be such failures when it comes to arguments.

Name: Anonymous 2012-02-20 20:27

>>68
You still aren't answering my question. Given your lame technical responses, I'm going to say that you don't work any kind of programming job.

Name: Anonymous 2012-02-20 20:29

>>69
Must I work as a code monkey in order to point out how big of a troll and failure you're?

Damn man, i feel so shitty now that i'm not some code monkey making 40k/yr workign 100 hours + a week.

Boy did i luck out.

Name: Anonymous 2012-02-20 20:31

>>70
No. But don't get your panties in a bundle when I point out a programmer error that only a programmer would know about. Now shut up and try to learn something you damn idiot.

Name: Anonymous 2012-02-20 20:36

>>71
I already pointed out what one of the original problems of that code was posts ago. How about you take the time to actually read the posts instead of spewing out more ad hominems to sound like an edgy fuck that thinks he's a know it all

Name: Anonymous 2012-02-20 20:42

>>72
Uhh....a missing return statement doesn't really constitute an error. I know this might sound kind of shocking, but something like a MS compiler would accept main() without a missing return statement. Yes, it's kind of idiotic, but the point is, a missing return statemet in main() doesn't scream "ERROR". But again, I wouldn't have expect your monkey ass to know something like this.

Now back to my point. There is a really subtle error in puts().

Name: Anonymous 2012-02-20 20:49

>>73
So you're claiming a function that should have a return statement, but doesn't is okay just because certain compilers will fix your shitty mistakes?

Good one.

Name: Anonymous 2012-02-20 20:53

>>74
You've never written a single line of code have you? Anyways, there is an error in that code that, no matter how shitty the compiler is, won't catch. The fact that you don't see it is okay. The fact that you keep arguing with me just implies you are some boneheaded fag that refuses to learn something.

Now shut up and tell me what the error is you mental midget you.

Name: Anonymous 2012-02-20 21:00

>>75
Aww yes, deal lord i don't find subtle C undefined behavior.

Good lord, you don't know C? You must not know shit. so edgy look at me stylin on you xD

Name: Anonymous 2012-02-20 21:02

>>76
I'm not that one that said 'return' was the error. You did. And the fact you stood by that lame assertion until I pointed out that some shitty compiler would still accept that construct means that you don't know the language. So not only are you stupid, but it now looks like you're projecting.

Now perhaps you should stop getting your panties in a bundle, find the old thread that discusses a similar problem, and then tell me what the error is you fucking moron.

Name: Anonymous 2012-02-20 21:05

>>77
I'm not that one that said 'return' was the error.
I said it was ONE of the errors. Please if you're going to quote my previous posts then quote them correctly.

The fact that a shitty compiler accepts it doesn't make it any betters. GCC will accept compile functions with no return when they should have one as well.

You shouldn't be proud about how your shitty mistake will work with shitty compilers.

Name: Anonymous 2012-02-20 21:07

>>78
But it's not THE error. Stop using caps to stress your stupidity you fuckng non programmer you and tell me the real error you fucking mental midget.

Name: Anonymous 2012-02-20 21:09

>>78
And I didn't write that code you fucking idiot. Man you are one stupid SOB.

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