The
C++ comes with a rich standard library: the
STL (
Standard
Template
Library).
So, why we should re-invent the wheel while we already have it done, safe and written to be light-weighed and performant?
It's too much better to use the
vector Class (Standard C++ Library)[
^]:
#include <vector>
...
std::vector<int> a(10);
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.