Quote:
Originally Posted by DaWei
You understand that the return of rand, as usually implemeted in C/C++, is an integer, right? Casting doesn't give you a real number.
|
True, I had that in to eliminate a warning I got with a former formula. One of my professors docked 30% if a compile warning occured. Removed, and no warning. Thanks for your eyes on that one.
I have a feeling i can learn a lot from this forum. Thank again Dawei and lectric.