how to create loops with AUTO in C++ code example Example: c++ auto loop for(auto x: myVector){ cout<< x << " "; }