Effective Modern C++

Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14 Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers’ earlier books, but covers entirely new material. This book describes how to write...

The C++ Modulus Operator

The C and C++ language provides a built-in mechanism, the modulus operator (‘%’), that computes the remainder that results from performing integer division.