Added new for loop for c++ > ansi.