Re: strange behavior of random numbers with gtkmm

By the way: what's exactly the problem with this behavour?
You should always call srand before creating random numbers with rand(), so this should be no problem. Maybe gtk just uses rand() somewhere within it's initialisation to create some random window-id's, should be ok (from my point of view).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]