c++ vectors vs dynammically allocated arrays
What's the pros/cons b/t the two.
There isn't any good reason for using dynamically allocated arrays instead of vectors.
Except if you really just need a chunk of raw memory.
Yea, I used Vectors for my Sieve of Eratosthenes prime generator program. Vectors are probably ideal.
Topic archived. No new replies allowed.