Max Klyga: > If you want to declare and initialize several variables in the for > loop, you can do it if they are of the same type: > > for (int x = 0, y = 0; ...; .++x, ++y) { ... } And if you need different types this sometimes is enough: void main() { for (auto x = 0, y = 0.0; x < 10; x++, y++) { } } Bye, bearophile