In C++ why can't I write a for() loop like this: for( int i = 1, double i2 = 0; - Stack Overflow
or, "Declaring multiple variables in a for loop ist verboten" ?! My original code was for( int i = 1, int i2 = 1; i2 < mid; i++, i2 = i * i ) { I wanted to loop through the first ... C++ (also C and Java) do not permit the declaration of more than one typ...