>1. This sort of for loop is idiomatic C++ code.
No. This is C code. In C++ you write:
std::vector<int> a = { 1, 2, 3 };
std::cout << std::min_element(a.cbegin(), a.cend()) << std::endl;
You shouldn't be writing a lot of loops in C++. You should be using the algorithms as much as possible.