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

C question

Name: Anonymous 2010-07-01 21:10

To make things clearer for myself as I learn C, I do casts like this:

#define cast(x) (x)
cast(unsigned int)time(NULL);

Is it considered bad style or anything?

Name: Anonymous 2010-07-02 18:18

>>18
/* Comments */ are removed before macros are expanded. #define comment(...) alone would have the same effect.

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