Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
can I replace drand48() and srand48() with random()?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="ZF Tang, post: 1522409"] Hi, guys. I'm compiling a c++ file in cygwin. drand48() and srand48() are used in this file. But there is no definition for them in stdlib.h. Can I replace them with random()? If no, is there any other approach to solve this problem? I'm not familiar with Unix/Linux-like environments. Any help will be appreciate very much. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
can I replace drand48() and srand48() with random()?
Top