Game dev woes

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2005
Posts: 175
Reputation: kahaj is an unknown quantity at this point 
Solved Threads: 0
kahaj kahaj is offline Offline
Junior Poster

Re: Game dev woes

 
0
  #11
Dec 31st, 2005
Hmm.

I'm not familair at all w/ mapping, so I do prefer the first example you provided Winbatch. But despite helping a bit, it has brought a few new questions. How do I implement srand to pick jumbled words at random? Also, how do I go about providing a "Sorry, but it should have been" type of output and throwing another jumble out there? I'm supposing that I need to implement an if statement...
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 466
Reputation: winbatch is on a distinguished road 
Solved Threads: 18
winbatch's Avatar
winbatch winbatch is offline Offline
Posting Pro in Training

Re: Game dev woes

 
0
  #12
Jan 1st, 2006
Why don't you start with picking the first one and asking the user, then validating his input against the first one. Once you have that working, then change it to continue to ask until he gets it right (ie while loop, etc.). Then start dealing with the random stuff later.
Reply With Quote Quick reply to this message  
Reply

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



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC