Thank you to both of you this does help alot.
If i have anymore issues i may ask you for help
CompReap
User Profile
Collapse
-
Using a random number in visualStudio 2005
How can i create a low number random to run so i can use it in this code.
Im just looking for something simplistic
for(int i=0;i<=gold;i++ ){
gold=gold-i;
}
cout<<"The chest contains "<<gold<<" Gold pieces\n";
break;
case 'c':
for(int i=0;i<steps;i++ )
{
steps=steps-i;
}
...
No activity results to display
Show More
Leave a comment: