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

Pages: 1-

Braces

Name: Anonymous 2011-06-08 10:27

int main(int argc, char *argv[])
{
    printf("I AM A SHITCUNT WHO SUCKS AT EVERYTHING.");
}


int main(int argc, char *argv[]){
    printf("JESUS CHRIST I GET SO MUCH PUSSY IT'S NOT EVEN FUNNY.");
}


Any questions

Name: Anonymous 2011-06-08 10:30

Yeah, why didn't you put newline character to the end of strings?

Name: Anonymous 2011-06-08 10:33

They suck as much as FIOC.

Name: Anonymous 2011-06-08 10:36

The second style makes sense because closing parens shoul

Name: .\/..(^.^)..\/. 2011-06-08 10:36

.\/..(^.^)..\/.

Name: Anonymous 2011-06-08 10:46

How can the C main function have pussy? And how it could not be funny? I also fail to understand how it can suck EVERYTHING.

Also, you forgot return 0;
Also, you forgot "\n"

Name: Anonymous 2011-06-08 10:56

>>2
Failing to have a newline can lead to some really strange and funky bugs.

Name: Anonymous 2011-06-08 11:00

You're not using puts.

Name: Anonymous 2011-06-08 11:11

>>6
return 0;
One word, C99, thread over.

Name: Anonymous 2011-06-08 12:09

>>1 another /b/tard how wrode his first hello world progrm and thinks he needs now to come to /prog/ (not that he would be with that under the average nivo of /prog/)

Name: Anonymous 2011-06-08 12:39

>>10
I'm sensing some penis envy.

Name: Anonymous 2011-06-08 12:43

>>11 im sensing a career as web developer

Name: Anonymous 2011-06-08 13:08

>>12
Don't be j.

Name: Anonymous 2011-06-08 17:40

>>1
int myfunc()
{
        if(im_teh_boss()) {
                i_have_teh_hax();
                ph34r_my_skill();
        }
}


thats the way.

Name: Anonymous 2011-06-09 4:55

>>14
>8 spaces
>not 4
>space before open brace
>underscores in method names instead of camelCase

Name: Anonymous 2011-06-09 5:41

As you all seem pretty good at programming and I presume the hacking sort of thing, I'm wondering if you can help me out. Some idiot decided to hack a forum saying that we need to step up our security, after about 5 minutes work I have his email address and first name, so please teach this kid a lesson to show him to be more secure in future. Be imaginitive with this one please, Josh_m53@hotmail.com

Name: Anonymous 2011-06-09 5:52

>>16
Both of you need only one lesson to learn. http://www-mitpress.mit.edu/sicp/full-text/book/book.html

Name: Anonymous 2011-06-09 7:37

>>15
This is not /g/.

Name: Anonymous 2011-06-09 7:45

>>18
>implying /g/ holds exclusive patents on >quoting

Name: Anonymous 2011-06-09 7:50

>>19
That's not even quoting.

Name: Anonymous 2011-06-09 8:06

>>20
>is it GNU/Autism?

Name: Anonymous 2011-06-09 9:48

>>9
>quoting properly

Name: Anonymous 2011-06-09 9:49

>not putting ur quotes in the fridge

Name: autism 2011-06-09 11:06

test

Name: Anonymous 2011-06-09 11:12

>>24
You have archieved something wonderful!

Name: !!kCq+A64Losi56ze 2011-06-09 11:26

>>25
Are you two having some kind of weird gay moment?

Name: Anonymous 2011-06-09 11:44

>>26
It's only weird the first time.

Name: Anonymous 2011-06-09 12:56

Doesn't compile, sorry.

Name: Anonymous 2011-06-09 18:46

int main(int argc, char *argv[])
     { printf("JESUS CHRIST I GET SO MUCH PUSSY IT'S NOT EVEN FUNNY."); }


fixed that for you

Name: !!kCq+A64Losi56ze 2011-06-09 18:50

>>29
{ printf("JESUS CHRIST I GET SO MUCH PUSSY IT'S NOT EVEN FUNNY."); }

This could block over a pipe or a socket you moron.

Name: Anonymous 2011-06-09 18:54

[code]
#include <stdio.h>
#include <stdlib.h>

main(
     argc,
     argv
          )
  int    argc;
  char **argv;
     { printf("Jesus Christ, my lord and savior, I must inform you of the gratuitous amount of vagina I have received, it's in such excess that I do not even find it amusing.\n");
       exit(EXIT_SUCCESS); }

Name: !!kCq+A64Losi56ze 2011-06-09 18:54

>>31
fail

Name: Anonymous 2011-06-09 19:22

>>32

No, look again, it will exit with EXIT_SUCCESS.

Name: !!kCq+A64Losi56ze 2011-06-09 19:33

>>33
I meant to say fail on the attempt to use the code tags.

Name: Anonymous 2011-06-09 19:37

>>34
It exited before he could close it.

Name: Anonymous 2011-06-09 21:24

>>34

I know what you meant, I was joking.

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