(rand() % 3) ranges between 0 and 2, if you want a value between 1 and 2, use (rand()%2+1)
Also, you're declaring the same variable twice (illegal)
Also, you're declaring the same variable twice (illegal)
|
SVN Builds
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |