[ LUGOS-PROG ] rand()

Primoz Kolaric primoz at tso.si
Sun May 20 18:24:10 CEST 2001


On Sunday 20 May 2001 22:00, you wrote:
> > imam probleme s funkcijo rand() iz stdlib.h. ne vem, kaj sem naredil
> > narobe, vendar mi program, ko ga po¾enem veèkrat vedno ven vr¾e enake
> > vrednosti (z nakljuènimi vrednostmi filam tabelo) ...
> >
> > mi lahko kdo obrazlo¾i?
>
> A tukaj ni treba seeda (semena ?) nastavit ?


seme nastavis z srand(unsigned int seed)



More information about the lugos-prog mailing list