View previous topic :: View next topic |
Author |
Message |
paupav Master Cheater Reputation: 13
Joined: 15 Apr 2011 Posts: 315 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Tue Aug 07, 2012 12:45 pm Post subject: what does in c++ % mean? |
|
|
in tutorial it only says it is modulo...
|
|
Back to top |
|
|
shitposter Newbie cheater Reputation: 5
Joined: 12 Nov 2008 Posts: 13
|
Posted: Tue Aug 07, 2012 1:04 pm Post subject: |
|
|
The remainder of a division.
|
|
Back to top |
|
|
paupav Master Cheater Reputation: 13
Joined: 15 Apr 2011 Posts: 315 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Tue Aug 07, 2012 1:05 pm Post subject: |
|
|
xTremist wrote: | The remainder of a division. |
aha, thanks
|
|
Back to top |
|
|
coolman++ Advanced Cheater Reputation: -1
Joined: 19 Jul 2012 Posts: 79 Location: Saudi Arabia
|
Posted: Tue Aug 07, 2012 7:24 pm Post subject: |
|
|
modulus operator
you would use it like this:
15 % 4
(output is 3)
|
|
Back to top |
|
|
paupav Master Cheater Reputation: 13
Joined: 15 Apr 2011 Posts: 315 Location: P. Sherman 42, Wallaby Way, Sydney
|
Posted: Wed Aug 08, 2012 6:30 am Post subject: |
|
|
coolman++ wrote: | modulus operator
you would use it like this:
15 % 4
(output is 3) |
yayaya i got it
|
|
Back to top |
|
|
|