Preprocessor Directives Isssue

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 ..
please use the '**code goes here**' tags to help posters distinguish the code from the summary of that particular code

thanks

this is confusing... i can't help you... I'm not experienced enough or just can't understand it

You want to use the #define keyword to define a property that will house a function(method is java correct) that will.... i'm lost
Topic archived. No new replies allowed.