| Definido en el archivo de encabezado <cstdlib>
|
||
void srand( unsigned seed ); |
||
Inicializa el generador de números aleatorios para generar valores para
rand() con el valor de inicialización 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.
You can help to correct and verify the translation. Click here for instructions.
Parámetros
| seed | - | el valor de la semilla
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. |
Valor de retorno
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Ejemplo
Ver también
| Genera un número pseudoaleatorio. (función) | |
Documentación de C para srand
| |