Cpp Creating Instance Of Array