Regular C fixed-size arrays are sufficient here, although in general std::vector is the preferred replacement (if needing the dynamic size).