diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2019-07-21 03:21:00 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2019-07-21 03:21:00 +0700 |
commit | 029688e143109344989b1529259e391822abb0aa (patch) | |
tree | 556f96273a5caed7df2e70a6ba253bcc7627bd33 /cpptour/count.cc | |
parent | be6678fbca007e73d69c9a9c5cddb8241a987149 (diff) | |
download | cp-029688e143109344989b1529259e391822abb0aa.tar.gz |
[cpptour] Learn the basis
Diffstat (limited to 'cpptour/count.cc')
-rw-r--r-- | cpptour/count.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpptour/count.cc b/cpptour/count.cc new file mode 100644 index 0000000..a047f04 --- /dev/null +++ b/cpptour/count.cc @@ -0,0 +1,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; +} |