In a situation I have to define some variables where I have control on parts of the variable names (like var below).
float var1, var2, var3....;
But I do not have any control on the numbers that they will take. (This is because these var* I am producing from some other code where everytime I compile, these numbers at the end will be different).
My question: Is there any way to define these variables a priori?
Like (lets say that the var* are generated within var100.)
float var1,...,var100;
without explicitly typing each and every var*.
It would have been much better to have array in this position, but is there any way to do this in this way?