Advertisement

Resizing arrays

Started by December 11, 2004 05:40 PM
10 comments, last by Marco H 19 years, 11 months ago
Bad day or not, it was also a good example of why std::vector is a good choise. Pointers can be tricky, especially on a bad day. [grin]
Thanks a lot for all your comments, I will have a look at std::vector (I never took it into consideration before, to be honest).

Quote: Original post by Enigma
Of course, if you really wanted to write a function to resize raw arrays (you don't, you want to use std::vector or std::deque)

I like that comment =)

Again, thanks a lot :)

This topic is closed to new replies.

Advertisement