Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucsd!ames!amdahl!dlb!megatest!sjordahl From: sjordahl@megatest.UUCP (Scott Jordahl) Newsgroups: comp.sys.ibm.pc Subject: HELP with TURBOC v1.0 rand and srand Message-ID: <278@megatest.UUCP> Date: 22 Feb 88 06:09:01 GMT Reply-To: sjordahl@megatest.UUCP (Scott Jordahl) Organization: Megatest Corporation, San Jose, Ca Lines: 22 I just started to use my TurboC (version 1.0d). I tried to compile a program that uses the "rand()" and "srand()" functions. The linker complains that it could not find _rand or _srand. Am I missing something here?? The TurboC reference manual states rand/srand are supported but an ASCII grep through the libraries shows no occurance of either one. Please help, -- Scott -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Scott A. Jordahl Megatest Corporation UUCP: {decwrl, sun, fortune, pyramid, ubvax, amd} !megatest!sjordahl USMAIL: Megatest Corporation 880 Fox Lane San Jose, Ca 95131 PHONE: [408] 437-9700 x3505 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++