Hmm, yeah - they're rand() and srand(), respectively. Would've thought these are standard names.
On Tuesday, August 29, 2017 at 5:58:17 PM UTC-4, Ian Lance Taylor wrote: > > Is it possible that on the version of GCC you are using with MinGW > that <stdlib.h> does not declare random and srandom? > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.