How to translate this blueprint to C++? [Arrays related]

Solution