https://www.learncpponline.com/for-statement-in-c-plus-plus/
for statement in C++