View Single Post
Old Mar 31st, 2008, 7:00 PM   #7
verizondude
Newbie
 
verizondude's Avatar
 
Join Date: Mar 2008
Posts: 4
Rep Power: 0 verizondude is on a distinguished road
Re: I kind of need help on my program

Quote:
Originally Posted by lectricpharaoh View Post
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?
verizondude is offline   Reply With Quote