Create C++ array and point