Typcasting is "forcing" data of one type into another. For example, below I am forcing a float of 1.5 to an int of 1.
Code:
float number1 = 1.5;
int number2 = (int)number1;
And if you did the opposite, typecast the number 1 (an int) to a float, you would get 1.0.

I'm pretty sure you could do operator overloading to typecast entire objects, but it's been years since I've worked with C++.

And apparently you can't mod a float. I've researched modulus a little more on the web. Here's a thread in another fourm I found on the issue:
http://www.gamedev.net/community/for...opic_id=306374

Like I said, it's been a while since I've used C++ so I'm still a bit rusty. Hope this helps.