Using C++, is there a way to write code so that you can store a string of characters in a multi-dimensional array taken from the user? I recall a string copy function in C, but I can't figure out how to do this in C++.
Sounds like a simple problem, but I want to store a name and a grade within this array. The trick I'm trying to do, is make one of the dimensions open to flex to the number of characters within the given name inputting by the user. (ie. name[*]) Total of five names, and the length is determined by the name.
The complier is not letting me define an array like such, but they has to be a way. Any ideas?
-=The Best Has Yet To Come=-
0 · ·