Quote:
Originally Posted by lectricpharaoh
Ahh. what you want, then, is a collection of structs. The simplest is an array or vector. As you seem to have already covered arrays, just use one of those. A vector is a type from the standard template library that is an abstraction of an array; it provides very similar functionality, with some added perks such as range-checking and the ability to be resized.
|
Well seeing a vector as like being a massive array, wouldn't the user have to count the characters he/she would want to plug in?