943,789 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 771
  • C++ RSS
Aug 7th, 2008
0

creating a game in c++

Expand Post »
I wish to create a program that will be a quiz game (multiple choice) questions I need to be able to display it and the options and allow the user to use the mouse to click to the option which he thinks is the correct answer.
My answers will be stored in a array which will be string and so will the questions.
Similar Threads
Reputation Points: 8
Solved Threads: 1
Newbie Poster
STUDENT#101 is offline Offline
16 posts
since Aug 2008
Aug 7th, 2008
0

Re: creating a game in c++

Ok, you stated what the program is supposed to do, now tell us what you did to solve it. Don't know where to start? Try this:
C++ Syntax (Toggle Plain Text)
  1. int main()
  2. {
  3. // your code goes here
  4. }
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,950 posts
since Aug 2005
Aug 7th, 2008
0

Re: creating a game in c++

You now need to think about what GUI toolkit you will be using to create the interface with. Have a look at SDL. There are lots of games made with it, and its cross-platform.
Reputation Points: 10
Solved Threads: 0
Light Poster
linux0id is offline Offline
37 posts
since Jul 2007
Aug 7th, 2008
0

Re: creating a game in c++

Do you indeed want to make it have a GUI? If so, follow linux0id's advice - you're going to need to use some sort of API.
Reputation Points: 77
Solved Threads: 40
Posting Pro in Training
CoolGamer48 is offline Offline
401 posts
since Jan 2008
Aug 12th, 2008
0

Re: creating a game in c++

thanks
Reputation Points: 8
Solved Threads: 1
Newbie Poster
STUDENT#101 is offline Offline
16 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: C++ pointer help request
Next Thread in C++ Forum Timeline: Scott Meyers or Herb Sutter.. or both?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC