Hi,
very simple question:
I have a variable
char Apple;
Now I want also Apple1, Apple2, .... Apple150 or whatever.
Is there a way to do:
1 2
|
for (x=1 ; x++ ; x=150)
{ "create Apple1 to Apple150" ? }
|
I need to do that because I need to create on the first hand an array that creates currency variables:
ex: ccy1, ccy2, ccy3, ccy4
and on the other hand a variable of character strings, "EURUSD", "USDJPY", "EURCHF"
and utimately match the first array with the second to have
ccy1 = "EURUSD"
ccy2 = "USDJPY"
ccy3 = "EURCHF"
of course I could just type the whole thing but there's not fun in that.
Your help would be very appreciated,
Regards,
Wissam