Espaces de noms
Variantes

srand

De cppreference.com

<metanoindex/>

<tbody> </tbody>
Déclaré dans l'en-tête <stdlib.h>
void srand( unsigned seed );
Initialise le générateur intégré de nombres aléatoires utilisées pour générer des valeurs pour rand() avec la valeur de départ seed .
Original:
Initializes the built-in random number generator used to generate values for rand() with the seed value seed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

seed -
la valeur de départ
Original:
the seed value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Retourne la valeur

(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exemple

Voir aussi

génère un nombre pseudo-aléatoire
Original:
generates a pseudo-random number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) [edit]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.