I have just come across the "Random Number Generator" section of my C++ book. It seems a bit confusing to me though...
In JAVA the random numbers were always ~U(0,1). Here, it does not appear that way. I have also read multiple times that the rand() function in C++ is not a 'good' random number generator.
I am learning C++ so I can use it while getting my MFeng at Cornell this Fall. Will using rand() be okay for all intensive purposes???
In JAVA the random numbers were always ~U(0,1). Here, it does not appear that way. I have also read multiple times that the rand() function in C++ is not a 'good' random number generator.
I am learning C++ so I can use it while getting my MFeng at Cornell this Fall. Will using rand() be okay for all intensive purposes???