#include
#include
#include
#include
using namspace std;
int rand_0toN1 (int n) ;
int main() {
int n, i;
int ;
srand(time(NULL));
cout << "Enter number of dice to roll; " ;
cin >> n;
for (i = 1; i <= n; i++) {
r = rand_0toN1(6) + 1;
cout << r << " " ;
}
return 0;
}
int rand_0toN1(int n) {
return rand() % m;
}
It is a dice rolling thingy :3
Sweet, now add a gambling system so I can take all of your money.
Quote from: sniperhunter Sweet, now add a gambling system so I can take all of your money.
And the virus i put in there, will give me your bank details.
Quote from: Silver Knight Quote from: sniperhunter Sweet, now add a gambling system so I can take all of your money.
And the virus i put in there, will give me your bank details.
Have fun with no money, heh heh heh.
GET A JOB
It's Amazing to see something you think so little of doing re-made as code o.o
And @ the Job comment
http://www.youtube.com/watch?v=gXCKQNAV9fo (http://www.youtube.com/watch?v=gXCKQNAV9fo)
>.>