C++ For Loop
The For Loop Definition The FOR loop in C and C++ is very powerful and in some ways, outclasses the FOR loop in other languages. Its basic definition looks like this: for(Initializer; Test; Incrementor) { foo(); foowho(); }; Or for(Initializer; Test; Incrementor) foo(); // Loopy stuff done here Lets look at an example of counting …