I have a unique problem and I am not one to post, I read a lot of posts here as I am still new.
I have a random function that is basically taking the square root of random numbers. Everything works great! Except that every time I try to run the function again it just uses the same value as before! Even when I try to re-compile. I think the compiler is cheating! Is there any way to get around this?
So lets say this is my first result:
a = 4, b=4 so sqrt(16)=4;
But a and b are randomly generated. However every time I run the code I still get 4 and 4 for a and b.