implementation of an array in c++ that is not initialized on creation.