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

Useful C defines

Name: Anonymous 2009-06-28 14:05

#define PROGRAMSTART int main(argc,char *argv[]){;
#define PROGRAMEND ;return 0;}
#define ENDFOR ;}
#define ENDWHILE ;}
#define ENDIF ;}
#define END }
#define POINTER *
#define VALUEAT &
#define EQUALS ==
#define NOTEQUAL !=
#define OR ||
#define AND &&

Name: Anonymous 2009-06-28 14:06

Please use [code] tags. Thank you.

Name: Anonymous 2009-06-28 14:45


#define PROGRAMSTART int main(argc,char *argv[]){;
#define PROGRAMEND ;return 0;}
#define ENDFOR ;}
#define ENDWHILE ;}
#define ENDIF ;}
#define END }
#define POINTER *
#define VALUEAT &
#define EQUALS ==
#define NOTEQUAL !=
#define OR ||
#define AND &&

Name: Anonymous 2009-06-28 16:06

Great, now C is QBasic.

Name: Anonymous 2009-06-28 16:15

You didn't expect this to compile, did you?

Name: Anonymous 2009-06-28 16:23

;}

Name: Anonymous 2009-06-28 16:51

#define make int
#define sandwiches main(int argc, char **argv)
#define becomes =
#define right? {
#define understand? }
#define yeah? ;
#define that (
#define was )
#define nice )
#define asshole(x) #x
#define tell puts
#define stupid return
#define wine 32
#define idiot 0

make sandwiches right?
    make water yeah?
    water becomes wine yeah?
    tell that asshole that food was nice yeah?
    stupid idiot;
understand?

Name: Anonymous 2009-06-28 16:56

>>7
lolwat

Name: Anonymous 2009-06-28 21:13

I am too lazy to /prog/scrape it, but there is already a thread like this somewhere with much better #defines.

Name: Anonymous 2009-06-28 21:28

>>9
find it yeah?

Name: Anonymous 2009-06-29 0:18

>>7
You can't use question marks in macros and food is undeclared.

Name: Anonymous 2009-06-29 0:41

#define 0 1
#define true 0
#define 1 true
#define false 1
#define if while

Name: Anonymous 2009-06-29 3:48

>>11
doesn't
tell that asshole that food was nice yeah?
become
puts ( asshole ( food ) );
and it would somehow change to
puts ( "food" );
?

Name: Anonymous 2009-06-29 4:06

Prelude> puts ( "food" );
<interactive>:1:15: parse error on input `;'

Name: Anonymous 2009-06-29 7:51

>>14
More like
Prelude> puts ( "food" );
fo*** Exception: stack overflow

Name: Anonymous 2009-06-29 8:16

>>11
You should learn to stringize one day.

Name: Anonymous 2009-06-29 11:08

sudo make me a sandwich yeah? xD

Name: Anonymous 2009-06-29 11:14

>>17
back to /xkcd/ ubuntu-boy

Name: Anonymous 2009-06-29 11:21

>>18
I use Ubanto, don't insult me.

Name: Anonymous 2009-06-29 11:24

I used to use ubunto. Now I use debian because im hardcore

Name: Anonymous 2009-06-29 11:27

The difference is, Ubanto has config files by default with the good config you might want to tweak, while Debian has nothing and you have to write all from scratch.

Name: Anonymous 2009-06-29 12:16

>>20
debian [...] hardcore
;-)

Name: Anonymous 2009-06-29 14:04

>>22
Debian is hardcore... if you want to actually try to use it to do anything useful.

Name: Anonymous 2009-06-29 14:21

>>23
debian is practically ubanto.
try a distro that doesn't include any of that package management faggotry and doesn't come with an x server.

Name: Anonymous 2009-06-29 14:39

>>24
NO THANK YOU
Why would I not make use of useful tools?

Name: Anonymous 2009-06-29 14:42

>>25
You are obviously not hardcore.

Name: Anonymous 2009-06-29 14:57

>>24
I use Arch, it's hardcore enough for me.

Name: Anonymous 2009-06-29 15:22

fucks like dick

Name: Anonymous 2009-06-29 21:39

Use BSD guys. These systems require much more work which means they're more hardcore.

Name: Trollbot9000 2009-07-01 8:30

The red green blue.

Name: Anonymous 2010-11-28 14:30

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