1 / 3
Jul 2011

It depends what you mean. Using a vector and push back instead of a fixed array means that you don't have control of how much memory you will use. Based on the problem specification you can know exactly how much memory you will use in the worst case, therefore use a fixed array.

Suggested Topics

Topic Category Replies Views Activity
C and C++ 0 17 10d

Want to read more? Browse other topics in C and C++ or view latest topics.