|
-
May 5th, 2007, 05:13 PM
#2
Re: String to Int
Sounds like you need to do some redesign. If you are writting these questions to disk you should format in someway, such as in XML format. For instance,
Code:
<Trivia>
<id>1</id>
<question_text>What is the capital of Albania?</question_text>
<answer_text>Tirane</answer_text>
<Trivia>
You can either write or download a xml package that does this.
You can then organize your answers and questions nicely into classes.
It requires a little work on your part, but in the end you will have a cleaner design and less headaches.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|