Hey, I am only leraning c++ at the moment so sorry if this sounds a stupid question or if the answer is really obvious but anyway...
How do you have a variable name itself?
What I want the program to do is to take the input from the user and create a new variable for it called say "variable1" and store it there. Then for the second input I would like the program to create another variable called "variable2" and so on all the way up to "variablen"
I have thought about using another variable say "x" and have the program create a new variable called "variable" and add x on the end, but I am not sure how to do that...
Any help would be appriciated.
Thankyou.