about summary refs log tree commit diff
path: root/cpptour/count.cc
blob: a047f04cc1a242239d7a51c0b83491961649e969 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>

using namespace std;

int
main ()
{
  int v[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
  for (auto& x : v)
    cout << x << endl;
}