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.:(

Recommended Answers

All 4 Replies

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:

int main()
{
   // your code goes here
}

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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.