Name: Anonymous 2011-11-26 1:05
What is the proper way of defining constants?
1)#define fag 0
2)const int fag = 0;
1)#define fag 0
2)const int fag = 0;
const int have some disadvantages. First, you'll have to move the definition to a separate translation unit (if the constant is declared in a header file). Second, you can't use it in case labels.enum. If you want to declare a single constant, though, I'd go with a #define.
fag into any Lisp interpreter it replies with ``oh, be nice !''