So I make an array in the function and return it, but you cannot do that in c++ right .
www.cplusplus.com