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: Anonymous 2012-02-21 11:59

>>117
leave it to kodak to fail to spot the subtle troll

Name: Anonymous 2012-02-21 12:01

>>120
I'm just pointing out that you aren't skilled on any level. How is that being childisht you fucking moron? Man, I swear, most farm hicks aren't even as dumb as you.

Name: Anonymous 2012-02-21 12:02

>>122
oh look more ad hominems from the child who can't argue without spouting off insults like a immature baby

Name: Anonymous 2012-02-21 12:06

Daily Reminder that kodak_gallery_programmer!!kCq+A64Losi56ze no longer has a job since kodak gallery went bankrupt.

Name: Anonymous 2012-02-21 12:06

>>123
That's right, keep calling me a child in order to avoid the truth that you aren't a skilled programmer. Because you know that deep down inside you don't have what it takes to write an autotroller on your own without modifying someone elses code.

Name: Anonymous 2012-02-21 12:09

>>125
+1 ad hominem

What's worse is that you think i ever claimed i was a skilled programmer.


You can't even keep your topics straight without reverting to something else that you can insult.

Name: Anonymous 2012-02-21 12:12

>>117
without proof it's undefined

Name: Anonymous 2012-02-21 12:15

Of all the shitty tripfags to remain on /prog/... kodak.


            o                                           
                 O       /`-.__                         
                        /  \.'^|                        
           o           T    l  *                        
                      _|-..-|_                          
               O    (^ '----' `)     I HELP THE MENTALLY RETARDED PEOPLE
                     `\-....-/^      BECOME LESS STUPID WITH ZHIVAGO!
           O       o  ) "/ " (      /                   
                     _( (-)  )_                         
                 O  /\ )    (  /\                       
                   /  \(    ) |  \                      
               o  o    \)  ( /    \                     
                 /     |(  )|      \                    
                /    o \ \( /       \                   
          __.--'   O    \_ /   .._   \                  
         //|)\      ,   (_)   /(((\^)'\                 
            |       | O         )  `  |                 
            |      / o___      /      /                 
           /  _.-''^^__O_^^''-._     /                  
         .'  /  -''^^    ^^''-  \--'^                   
       .'   .`.  `'''----'''^  .`. \                    
     .'    /   `'--..____..--'^   \ \                   
    /  _.-/                        \ \                  
.::'_/^   |                        |  `.                
       .-'|                        |    `-.             
 _.--'`   \                        /       `-.          
/          \                      /           `-._      
`'---..__   `.                  .`_.._   __       \     
         ``'''`.              .'##C   `'^  `''---'^     
                `-..______..-'

Name: Anonymous 2012-02-21 12:19

>>126
Sorry, my bad. I forgot. You don't even know how to program!

Name: Anonymous 2012-02-21 12:19

>>129
And the topic changes again

Name: Anonymous 2012-02-21 12:21

Name: Anonymous 2012-02-21 12:25

>>130
Don't worry. Your mental midgetness is the universal constant in this tread.

Name: Anonymous 2012-02-21 12:28

It is fairly relaxed and a little silly.
Check the doubles. (^^;;

Name: Anonymous 2012-02-21 12:30

Maybe he's right, looking at how passionate all /prog/ endure such shitposting.

Name: Anonymous 2012-02-21 12:32

>>111
nice trips, check my dubs in base 134

Name: Anonymous 2012-02-21 13:13

>>39
I work for Google, we laughed our asses off when someone recommended Apache for a project. It's completely unfit for production.

Name: Anonymous 2012-02-21 13:18

Hey Kodak, this is your bi-monthly reminder that any subset of a countable set is also countable. Keep trying to pass Math 101 you fucking retard, you'll be able to define a subset if you practice a lot I'm sure.

Name: Anonymous 2012-02-21 13:42

>>136
I work for Google
How is this relevant? Does your job make your statements always true?

Name: Anonymous 2012-02-21 13:42

>>136
Lies. All lies.

Name: Anonymous 2012-02-21 13:46

>>138
How is this relevant?
Gee, I don't know, could it be related to this?

What do you do for a living?

Name: Anonymous 2012-02-21 13:51

>>117
It won't if the implementation is a conforming C implementation, stdout gets flushed at termination, and termination occurs right after the call to puts has finished.

Read the standard you stupid piece of shit.

Name: Anonymous 2012-02-21 14:02

>>140
Nothing, isn't that awesome?
Staying all day and night jailed in your awesome confortable rad G+hole? Thank you! I have different objectives for life, like, really living?

Name: Anonymous 2012-02-21 14:25

>>141
In this case, the code may or may not call fflush(). If it doesn't call fflush(), the behavior is undefined. Now shut up you dumbass.

Name: Anonymous 2012-02-21 14:28

>>141
Now given that fact that you're kind of dumb, I really don't expect you to actually understand the passages. I mean fuck, I bet you got C's and B's in your classes when attending your hick school. And you know why this is? Because you have a low IQ. Now do you really expect that you could magically understand something that is more difficult? Exactly. Now fuck off you no talent bitch.

Name: Anonymous 2012-02-21 14:37

Hey Kodak-kun, I just got out of my Computer hardware and assembly lecture.

You jelly?

Name: Anonymous 2012-02-21 14:37

>>145
Totally.

Name: Anonymous 2012-02-21 14:40

shit projects like Apache?
Why? OK, let's say 90%, but all of them? OP, you better contribute to Apache Cassandra you mainstream piece of shit.

Name: Anonymous 2012-02-21 15:07

>>143
but kodak-san,my compiler adds a fflush() in automatically at the end of main function

Name: Anonymous 2012-02-21 17:58

This thread: so C++... so angry

Name: Anonymous 2012-02-21 20:21

Oh, you think you're doing some damage? Two plus two is… ten. In base four! I'm fine!

Name: Anonymous 2012-02-22 9:05

>>143
It always does you stupid piece of shit.
Read the fucking standard.

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