954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help in making a slot machine game in turbo C++

Hi there I have a problem creating a slot machine game in turbo c++ because I cant get the value of the randomize number....

olsoul_41
Newbie Poster
5 posts since Aug 2008
Reputation Points: 7
Solved Threads: 1
 

Use srand()

WaltP
Posting Sage w/ dash of thyme
Moderator
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 

can u make me one? pls

olsoul_41
Newbie Poster
5 posts since Aug 2008
Reputation Points: 7
Solved Threads: 1
 
can u make me one? pls

Yes I can. But the question is: canyou?

How about googling for srand()/rand() ?

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 

no i cant. can you pls help me?

olsoul_41
Newbie Poster
5 posts since Aug 2008
Reputation Points: 7
Solved Threads: 1
 

>no i cant.
So what you're saying is that you're unwilling or incapable of searching Daniweb, Google, or any book on C. This is a dreadfully simple problem and the question is asked quite frequently.

>can you pls help me?
No, you're beyond help. If you can't be bothered to do simple research, we can't be bothered to spend our valuable time on a lost cause. Come back when you've actually attempted to help yourself first.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You