How To Loop Through Arrays In Cpp