for loop in c++