basic cpp programs loops and strings code example Example: how to make a Loop in c++ for (int i; i < 10; i++) { cout << i << "\n"; }