mais je sais lire...
je suis juste un piti débutant
bon ok alors tu prends la fonction de taz pré machée et tu l'utilises bordel :
unsigned my_better_rand(unsigned N)
{
/**
* beaucoup plus aléatoire et renvoie un entier entre 0 et N
* (la je fais pas l'explication :oD )
*/
return (unsigned)((double)rand()/((double)RAND_MAX+1)*N);
}
---------------
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!"
blastrock
Posté le 24-08-2004 à 23:02:09
ah ! j'ai compris !!
dsl pour tout ce bordel...
j'y suis quand mm arrivé a la fin...
schnapsmann
Zaford Beeblefect
Posté le 24-08-2004 à 23:02:41
attends tu veux pas que te le compile pendant que j'y suis?
---------------
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!"
blastrock
Posté le 24-08-2004 à 23:03:04
je viens de dire que c'est bon !
schnapsmann
Zaford Beeblefect
Posté le 24-08-2004 à 23:03:55
ouais mais n'empeche ça a pas été facile avec toi
---------------
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!"