Tekforums

Chat => Entertainment & Technology => Topic started by: M3ta7h3ad on January 02, 2007, 18:45:50 PM

Title: Batch file schenanigans
Post by: M3ta7h3ad on January 02, 2007, 18:45:50 PM
Ello!

Trying to make a simple quiz using a batch file.

Ideally said batch file will read questions and multiple choice answers from a file (though isnt necessary, dont mind storing them inside the batch file itself), then display them one by one, wait for a number for an answer to be pressed then record if they had the answer correct or incorrect.

At the end of the quiz it will need to display the number of answers correct/incorrect on the screen so they can see how theyve done. :)

Any ideas where to start?
Title: Re:Batch file schenanigans
Post by: Shakey on January 03, 2007, 00:53:36 AM
batch file menu (http://www.cs.ntu.edu.au/homepages/bea/home/subjects/ith305/description.html)

scroll to the end for the code (the rest explains how the code works) as a multiple choice quiz is basically a series of multiple choice menus :)