In my program, I need an array with an undetermined size and obviously this doesn't fly with the compiler. Any thoughts?
In my program, I need an array with an undetermined size and obviously this doesn't fly with the compiler. Any thoughts?
Last edited by xmltorrent; 04-01-2006 at 03:26 PM.
1. An STL container of some sort, i.e. vector.
2. Dynamic memory allocation via new/delete.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
hmm Good call hk
btw I like the sig