C++ mod question

Crusty

Lifer
Sep 30, 2001
12,684
2
81
change ALL of your mod to %

% is the modulus division operator in c++

edit: couldn't resist

all your mod are belong to %
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
haha.

the teacher was teaching this and told us on the board to use mod, whats up with that?
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
Originally posted by: WarDemon666
haha.

the teacher was teaching this and told us on the board to use mod, whats up with that?

I guess when she told you to use mod, she assumed that you guys know that mod = % on C++.

Haven't been paying attention in class lately? ;)

<-- guilty
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
heheh, oh well.

Thanks guys

edit: something is wrong with firefox? it sent the msg when i pressed A lol
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Haha, just to let you guys know, the teacher got confused, she was teaching another language the class before, and forgot. lol.

Ahhh teachers these days.. what are we going to do