I am using this as an example to show what I want to do.
I have already done a char array like this:
char name[10][10] = {"1. One",
"2. Two",
"3. Three",
"4. Four", etc.. down to 24.
I have already wrote the code, so all these 24 subarrays can be shown.
The program then asks the user which number they want, and the user then inputs this.
What I want to do is to later show the user what number they put into the program, with a cout line: cout <<"Name Number" << name_Number;
But I can't as I am not sure how to declare the 1. One, 2.Two etc.., under the name_number,
Also When I ask the user the question they only input 1, 2 or 3 (the number not the name) etc, as later it then displays "1. One" showing the user what they have put into the program previosly, I'm just not sure how to do this, any help will be appreciated.