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

constant

Name: Anonymous 2011-11-26 1:05

What is the proper way of defining constants?


1)#define fag 0
2)const int fag = 0;

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-26 1:35

>>4
UnFortunately some compilers don't allow redefining #define/#include
I've found out that gcc doesn't like
#define d #define
and i have to type extra chars in void.h and similar headers(usually i have append a huge chunk of empty #define's if there is need)

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