Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,132 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,799 people online right now. Registration is fast and FREE... Join Now!




C equivalent of math.random()

 
Reply to this topicStart new topic

C equivalent of math.random()

tygerberg
13 Apr, 2007 - 03:03 AM
Post #1

D.I.C Head
Group Icon

Joined: 14 Dec, 2006
Posts: 114


Dream Kudos: 25
My Contributions
Hi
Could someone help me find the function equivalent to java's math.random().
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: C Equivalent Of Math.random()
13 Apr, 2007 - 03:45 AM
Post #2

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,858



Thanked: 49 times
Dream Kudos: 550
My Contributions
rand(), and srand()
Tutorial 1: good for basic info
Tutorial 2: Way out there.

User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 10:27PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month