All pastes #187981 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-10-01 17:45 UTC
rendered paste body
#include <iostream>
#include <stdlib.h>

using namespace std;

long rnd(long a=0,long b=2147483647);

int main(void)
{
    int zufall;
    zufall=rnd();
    cout << zufall << endl;
    system ("pause");
    return 0;
}

long rnd(long a=0,long b=2147483647)
{
     long zufall;
     return (rand() % (b-a+1)) + a;
     }