Quote:
Originally Posted by The Dark
@null_ptr0: You are right in that you can't access members (such as size()) in an array. However, you wrong in thinking that numbers is an array. It is a vector, which is an entirely different animal.
Also note that the OP indicated that he fixed the problem from the answer provided in post #2 two days ago, so he probably doesn't need another answer. I know your keen to help, but you should at least read other people's responses - I noticed quite a few of your other posts are just rephrasing of answers already given.
|
oh, I didn't know it was a vector, sorry.