I was helping someone else on this forum, and made a mistake in my for loop, but to my amazement, it still printed out the array. Could someone explain WHY this works, when there is NO array named i?
I try searching google, and other sites, but do not find any reference to this way of programming.
Thanks for the info. I've never seen a loop being done any other way, except by what show in books as is a normal loop. And, judging by DTSCode's response, I'm not alone. I will make sure to add this styling to my repertoire. My thanks again.
Wow. I guess this is something I better NOT forget. Okay, I'll stick to the traditional way of using the for loop. Thanks to you all for helping me understand this, and helping me with traditional, and easier to understand, C++.