answersLogoWhite

0

What is the definition of srand?

User Avatar

Anonymous

12y ago
Updated: 8/20/2019

I don't believe 'srand ' is an English word , -gibberish.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What does LAN srand for?

It is an abbreviation for Local Area Network.


What does lol srand for?

laugh out loud od lots of love


What is srand in c plus plus?

Srand (seed random ) is used to seed random numbers and is used before calling the rand() or the random number generator. Seeding random numbers ensures that each time the code is executed the number generated is completely random. srand requires one parameter. For most cases it is sufficient to make this parameter time(NULL) [remember to include time.h] as this will seed a new bunch of random number every second


What is the header files from random functions?

The header file for random functions ( like rand(), srand() ) is stdlib.h in C and cstdlib in C++.


What is the difference between the functions rand random srand and randomize?

RAND: Rand uses a multiplicative congruential random number generator with period232 to return successive pseudo-random numbers in the range 0 to RAND_MAX. Return Value: Rand returns the generated pseudo-random number. RANDOM(): Random returns a random number between 0 and (num-1).random(num) is a macro defined in STDLIB.H. RANDOMIZE(): Randomize initializes the random number generator with a random value. Because randomize is implemented as a macro that calls the time function prototyped in TIME.H, you should include TIME.H when you use this routine SRAND(): The random number generator is reinitialized by calling srand with an argument value of 1.The generator can be set to a new starting point by calling srand with a given seed number.


What is randomize function in c plus plus?

You can use rand(). Make sure that you use srand()to generate the seed for rand() (if you do not, you get so called pseudo random numbers).


Write a c program to print different number into a random order at number of compile times?

This program generates so called pseudo random numbers, and it used srand() function to connect the seed for the random number generator to the current. Which makes it less predictable but cannot claimed as a real random number generator.#include #include #include int main(){srand((unsigned) time(NULL));std::cout


What was definition's definition?

Definition is the same as meaning.


What is the definition of stipulative?

stipulative definition is stipulative definition


Words?

Definition


What is a polestar by legal definition?

There is no legal definition for pole star.There is no legal definition for pole star.There is no legal definition for pole star.There is no legal definition for pole star.


What are the two types of definition?

the two types of definition are the formal and informal definition.