How to use container library arrays in C++