Am very new to this board ... have checked out the FAQs etc by the way before posting this questions as i can't find what i'm after anywhere - so somone might be able to help
Having a Coldfusion background, there was a very handy function called Evaluate(), and i am looking for the C equivalent of it (if it exists). As an example of what it does (explanation after code sample):
<cfset variable1 = 10>
<cfset i = 1>
<cfset myvariable = Evaluate("variable" & i)>
Variables variable1 and i are defined,
myvariable is set to the value of variable1 (10) by evaluating the string in the Evaluate() function - the string being the text "variable" concatenated with the value of variable i.
I hope this is clear - i have done a little C programming before, but knowing if this could be achieved would be great ...
Thanks in advance ....