|
-
Sep 30th, 2000, 02:38 PM
#1
Hi, I have just started to teach myself C++ programming for DOS (I use the DJGPP compiler). I need to find a way to generate random numbers (its for a number-guessing game that I have set myself a task to create!). I need the numbers to be within a certain range for example 0-10000.
I cannot seem to make any of the srand() or rand() commands work.
Which headers do i need to #include ?
Greatful for any enlightenment 
It's a great language to learn isn't it, very satisfying when it works (not often for me).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|