> I was thinking more along the lines of this: > > A C++ for loop:
This is exactly NOT a foreach loop, its a vanilla for loop.
>
> #include <iostream>
>
> using std::cout;
>
> int main() {
>
> for (int i = 0; i < 10; i++) {
> cout << i << "\n";
> }
for i in range(10): print i
Alan G.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
