30 Jul
2011
30 Jul
'11
2:57 a.m.
Dear All, I would like to translate some C-Code into objects. I did this already for functions and expressions: Writing template functions and passing my expression object as an argument. Now I want to do this for C-Code, which uses if-statements and variables. To do this, I would implement some template function for an if-statement. And some function for an assignment to a variable. Probably using enumerations to indicate the variable. Is this the right approach? Peter