Re: Random Numbr Generator
You may want to rephrase the question so those that speak English can understand it.
Re: Random Numbr Generator
This is the wrong place for it.
Should be here: http://www.vbforums.com/forumdisplay.php?f=9
Re: Random Numbr Generator
There was code but I forget it.
Re: Random Numbr Generator
Repeating period? PLZ rephrase question.
Re: Random Numbr Generator
rand(); is used to select the random number.
eg.
Code:
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
int main()
{
srand((unsigned)time(0));
int random_integer = rand();
cout << random_integer << endl;
}