Articles in this series
There are lots of ways to keep track of time, so it would be reasonable to create a TimeKeeper base class along with derived classes for different...
What's an array An array is a data structure that is similar to a standard library-type vector, but it differs from a vector in the trade-off between...
Preface There are two forms of enumeration in C++, enum and enum class. Enum is the pre-c++11 syntax, which means it is an unscoped enumeration. The...
Method 1(index-based iteration) std::vector<int> v = { 1, 2, 3, 4, 5}; for (size_t i = 0; i < v.size(); ++i) { std::cout << v[i]; } Method...