If you use #define for the first example this works fine.
First Example:
Code:#define Number number int Number = 0;
If you use #define for this example it doesn´t compile.
Why does this not work ?Code:#define Number[1] number[1] std::vector<int> Number(500);
I dont know if it is because it is [] etc...
Is it possible to #define things like this or point to them in any way.



LinkBack URL
About LinkBacks



