Hey.
Is there a way to generate unique identifiers for a program. For example here's how it can be done with Visual C++ in a file.
thenCode:#define UNIQ(s) s##__COUNTER__
etc...Code:int UNIQ(a) = 5; //a0
int UNIQ(a) = 6; //a1
Unfortunately the counter is restarted per file. Is there a way to make something global for the program.
Thanks in advance for any help.
(Visual C++ specific solutions are ok)
