Skip to main content
6 events
when toggle format what by license comment
Sep 4, 2011 at 18:50 history edited Loki Astari CC BY-SA 3.0
added 608 characters in body
Sep 4, 2011 at 18:48 comment added Medicine I use style1 at work which is taken care by my .emacs. at home I use Mac and I have Aquamacs whose default indentation is what I am using..the non-standard style.
Sep 4, 2011 at 18:41 comment added Loki Astari @Medicine: No. You are only supposed to call it once. If you call it more than once you ruin the random numbers (as you are restarting the sequence). Thus if you call it before rand() each time you are NOT getting random numbers. It's NEVER because all beginners do this and get its irritating to tell them again and again and again and again ....
Sep 4, 2011 at 18:39 history edited Loki Astari CC BY-SA 3.0
added 608 characters in body
Sep 4, 2011 at 18:06 comment added Medicine why NEVER call srand() more than once? does it take too much time?
Sep 4, 2011 at 16:28 history answered Loki Astari CC BY-SA 3.0