[Solved] How to adress variable by name stored in another variable (C++)
Variable names disappear as part of the compilation step(s) in C and C++. Typically, there are two scenarios that solve the type of problem you are describing: User input corresponds to specific variable name. You don’t actually want the “name” of the variable, but just need a way to associate different data with different parts … Read more