I'm following a tutorial at http://cplusplus.com/doc/tutorial/tut1-3.html and the problem is that I don't understand the description of an operator called module (%).
The description that they give there is I believe got a mistake (I just don't know what mistake).
That was from that site, and I don't get it?The only one that may not be known by you is the module, specified with the percentage sign (%). Module is the operation that gives the rest of a division of two integer values. For example, if we write a = 11 % 3;, the variable a will contain 2 as result since 2 is the rest from dividing 11 between 3.
Anyone? PLS HLP