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

Pages: 1-

The Art of Macro Declaration

Name: Donald Knuth 2008-02-12 18:31

#define CAPITAL(macro) ...

or

#define LOWERCASE(macro) ...

Please help me decide /prog/. I will cite you in The Art of Macro Declaration due out Q1 2058.

Name: Anonymous 2008-02-12 18:37

Umm, did you perhaps mean:

#define lowercase(macro) ...

???

Name: Anonymous 2008-02-12 18:38

>>2
Indeed. Thank you. Give me your address so I can send you the cheque.

Name: Anonymous 2008-02-12 18:39

>>1
>>2
>>3

SAME FAG

Name: Anonymous 2008-02-12 18:40

>>4
Is the OP.

Name: Anonymous 2008-02-12 18:48

>>1
lowercase if `macro' is evaluated only once.
UPPERCASE if it's evaluated more than once.

#define MAX(x, y) ((x)>(y)? (x) : (y))
#define inc(x) ((x)+1)

Name: Anonymous 2008-02-12 18:48

UPPERCASE ftw

Name: Anonymous 2008-02-12 18:53

>>6
thats confusing as fuck

Name: Anonymous 2008-02-12 18:54

Name: Anonymous 2008-02-12 19:00

i'm the faggot that doesnt read comp.lang.c faggot

Name: Anonymous 2008-02-12 19:08

It doesn't matter. The reader always uppercases symbols (at least it's the default from the standard).

Name: Anonymous 2008-02-13 4:29

Am I the only one that's scared that Knuth'll pass out before he will have had the chance to complete his tAoCP?

Name: Anonymous 2008-02-13 5:34

>>12
Yes

Name: Anonymous 2008-02-13 5:40

>>13
Okay.

Name: Anonymous 2008-02-13 5:48

>>12
He'll never finish it

Name: Anonymous 2008-02-13 6:06

>>15
funny =/

Name: Anonymous 2008-02-13 12:47

>>15
and he doesn't have any offspring ;_;

Name: Donald Knuth Jr. 2008-02-13 13:06

>>17
Incorrect. I am his EXPERTPROGRAMMING offspring.

Name: Anonymous 2009-03-06 10:04

The online documentation at   gcc gnu org.

Name: Trollbot9000 2009-07-01 9:07


Offspring.

Name: Anonymous 2010-11-02 10:50

Name: Anonymous 2010-11-26 0:07

Name: Anonymous 2010-12-17 1:22

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-02-04 13:17

Name: Anonymous 2011-02-04 14:26

Name: Anonymous 2011-02-04 17:54

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