Sup guys ..
So , the thing is that i need to define a preprocessor directive so i can compile correctively an SQL pseudocode into C++ .
VALUES (value1, value2, ...);//cant figure out a way to take the value1,...,valueX out
value1,value2,...,valueX is string or integer typed expression
for example : VALUES ("Book", "Chapter", 3);
is there any way to convert that sort of expression using #define directives , with a notice that I CANNON OVERLOAD THE "comma , " operator because i got string and int objects
string : Book,Chapter
int : 3
cause in any other case i just could #define VALUES evoke_constructor().method() or so , overload the comma operator , pull out the value1,..valueX dump them on vector-array and Ok..
plz help me on this one , i have stucked at this point about a day , how can i pull the values value1,..valueX out
Thx in advance ..