#define, #undef usage

if i do something like:
#define a 1
#define b 2
#define c 3 

do i have to do an

for them at the end of the file? or will defining a constant like this only hold for the .cc file you are working in or ?? is this bad practice like the evil global variable??
It is my understanding that #undef is used if you want to give another definition for an existing macro

Last edited on
Topic archived. No new replies allowed.