If you want the loop to print a result in reverse, yes use the decrement operator
Code:for ( int i = 10; i >= 0; i-- ) cout << i << " ";
If you want the loop to print a result in reverse, yes use the decrement operator
Code:for ( int i = 10; i >= 0; i-- ) cout << i << " ";
Double Helix STL