Random Float number generator
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all: I need a random float number generator, I tried drand48(), but it complains it as the unrecogonised identifier. Is there any other function please? Thanks
Asura
double floatingRand = (double)((rand() % (max-min)) + min) + ((double)rand() / (double)RAND_MAX);
image processing toolkits | batch image processing | blogging