I'm sure some of this program will be in C++ so...
I'd like to write a program that automatically produces tex files for high school math test. This involves having a database of questions and answers. Each question and answer will be a block of text. The database may have thousands of questions to chose from.
How should I store the database of questions so that I don't have to load them all into a giant array of questions and answers? If I want to use questions 5, 11 and 99 the program should just go and get those questions from the database file. Is this a job for something like SQL? (I've never used database software other than goofing around with MS Works and Office)
Thanks,
Peter