Computing.Net > Forums > Programming > Who wants to be a millionaire?

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.

Who wants to be a millionaire?

Reply to Message Icon

Name: Nicolas
Date: March 24, 2004 at 02:11:04 Pacific
OS: windows 2000
CPU/Ram: athlon 1.7
Comment:

I'm using Borland c++ builder 4 to put together a game simulating the gameshow who wants to be a millionaire. I'm trying ti produce a random number generated on a button click event in an edit box using int editB = rand() % 10; but the comliler tells me rand is an unidentified function. Can anybody help?



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: March 24, 2004 at 03:32:02 Pacific
Reply:

Just a word of caution Nicolas. If you are writing this game for your own amusement, fine, no problem.

However, of you are writing it with the intention of selling it you could run into copyright problems with the name.

You will have to contact Endmol the programme makers to get permission to use the name otherwise you could be on the wrong end of a Breach of Copyright suit.

Stuart


0

Response Number 2
Name: Sord
Date: March 25, 2004 at 15:40:22 Pacific
Reply:

I believe Borland's rand is in stdlib.h, are you including it?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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: Who wants to be a millionaire?

Storing and Randomizing Data www.computing.net/answers/programming/storing-and-randomizing-data/976.html

Storing and Randomizing Data www.computing.net/answers/programming/storing-and-randomizing-data/918.html

segmentation fault with this?! www.computing.net/answers/programming/segmentation-fault-with-this/933.html