Hi,
Ok, I'm trying to write a little app to be used by myself and my collegues when teaching technical training courses. The purpose of the app is to auto-mark lab exercises.
I've posted elsewhere some other questions, but this one involves the storeage of mark data.
I have an XML file which contains the marking scheme for a particular lab. In it are specifications of what registry / file settings are needed on a remote machine in order to get a particular mark / set of marks.
The interface is to be a notebook with a page for each student. The idea being that when a student says they have finished, the appropriate page is brought up and a "mark" button pressed. This will kick off the process of scanning the machine.
So far so good. Now, I'm using wxWidgets, so I thought that I could use a wxArray to hold the information on the machines. Each element being an object representing the marking for hat machine.
The question is, how do I create those objects? I can't design the object until the XML file is read in for the particular lab exercise. This will then define both the data storage requirements and also the dislay requirements for thepages in the wxNotebook.
Can anyone offer any advice on how to deal with objects whose format you don't know until runtime?
Many thanks,
Paul