I wonder if there is any way to generate a pseudo random number without using any system API in C? By without system API, I mean without using any Random generator API provided by framework or system APIs like currentMilliseconds etc.
int random(){
// generate a random number R
// how to generate R here?
return R;
}
Aucun commentaire:
Enregistrer un commentaire