std::srand
Da cppreference.com
< cpp | numeric | random
Revisão das 07h00min de 26 de outubro de 2012 por TranslationBot (discussão | contribs)
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <cstdlib>
|
||
void srand( unsigned seed ); |
||
Inicializa o gerador de números aleatórios usado para gerar valores para
rand()
com o valor da semente 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.
Índice |
Parâmetros
seed | - | o valor da semente
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
(Nenhum)
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.
Exemplo
Esta seção está incompleta Motivo: sem exemplo |
Veja também
C documentation for srand
|