Loader

First C++ Script That Actually Does Something

Started by mrd, 16-03-2009

0 Members and 2 Guests are viewing this topic.

#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.

Quotebreslau: if i cant cheat i dont wanna play
breslau: period

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.


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


 >.>