How do I generate random floats in C++?
I thought I could take the integer rand and divide it by something, would that be adequate enough?
rand() return a int between 0 and RAND_MAX. To get a random number between 0.0 and 1.0, first cast the int return by rand() to a float, then divide by RAND_MAX.