Most people would say std::vector<int>. I tend to use int[] only if it's a very simple problem. In general, std::vector is the safer choice.
Kelly
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |