more conversion of C style arrays to C++