random number generation

Reply

Join Date: Nov 2007
Posts: 13
Reputation: codder is an unknown quantity at this point 
Solved Threads: 0
codder codder is offline Offline
Newbie Poster

random number generation

 
0
  #1
Nov 14th, 2007
i am using boarland c.and i want to know how to generate random numbers...is there any functions which allow me to do this?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 6,590
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 851
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: random number generation

 
0
  #2
Nov 14th, 2007
Like rand() for example?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
--
If your code lacks code tags, you will be IGNORED
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 47
Reputation: joshua.tilson is an unknown quantity at this point 
Solved Threads: 0
joshua.tilson's Avatar
joshua.tilson joshua.tilson is offline Offline
Light Poster

Re: random number generation

 
1
  #3
Nov 14th, 2007
There was a very nice post about random numbers, several actually, I keep referring to them myself!

http://www.daniweb.com/forums/thread1769.html
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 553 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC