Namensräume
Varianten
Aktionen

srand

Aus cppreference.com
< c‎ | numeric‎ | random

Defined in header <stdlib.h>
void srand( unsigned seed );
Initialisiert der eingebauten Zufallszahlengenerator verwendet, um Werte für rand() mit dem Keimwert seed erzeugen .
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.

Inhaltsverzeichnis

[Bearbeiten] Parameter

seed -
der Ausgangswert
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.

[Bearbeiten] Rückgabewert

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

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

erzeugt einen Pseudo-Zufallszahlengenerator
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.

(Funktion) [edit]