K
Kishore Kumar Kadari
Guest
int D = rand() % 4;
I am getting the random variable for the above statement, but if I put curly braces as shown below
{int D = rand() % 4;}
I always get D=0. Can anyone explain how to deal with this problem in c++
Continue reading...
I am getting the random variable for the above statement, but if I put curly braces as shown below
{int D = rand() % 4;}
I always get D=0. Can anyone explain how to deal with this problem in c++
Continue reading...