Compiler Error C2090

function returns array

A function cannot return an array. It can return a pointer to an array.