Computing.Net > Forums > Programming > C++ random number generating code?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ random number generating code?

Reply to Message Icon

Name: gimmpy224
Date: November 6, 2004 at 22:49:43 Pacific
OS: windows XP pro
CPU/Ram: athlon 64 3000+, 2 gb
Comment:

Well I plan to make a game someday (rpg) and i would need a way to generate random number for monsters to hit you.

Right now im just gonna make some little text based game to start off with..

So I was wondering if you could help me brainstorm to figure out how to generate a random number from 0 to x into an integer that i can use as the monsters damage to you that hit....
:) any idea is welcome :)

GIMPS



Sponsored Link
Ads by Google

Response Number 1
Name: BlueRaja
Date: November 7, 2004 at 20:54:13 Pacific
Reply:

Answered gimps over AIM, no need to reply.

AKhalifman@hotmail.com


0

Response Number 2
Name: shantanu_gg
Date: November 17, 2004 at 10:07:52 Pacific
Reply:

Mail me for the code

Happy Coding
Shantanu


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


javascript help please Programming Monopoly



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ random number generating code?

Random Number Generator in C www.computing.net/answers/programming/random-number-generator-in-c/9566.html

Random number generator www.computing.net/answers/programming/random-number-generator/12990.html

C++ random numbers www.computing.net/answers/programming/c-random-numbers/12193.html