Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Problem about reading data
Well.. my situation is like that.I wrote a problem provide many questions, you can choose the number of question you wanna answer.
Once you choose the answer the hint will show in the program.ALL question, answer and hint I used 3 different txt files put them.
Here is the problem:
1.How can I know the first line and second line only in the no.1 question load 3 and 4 line only in the no.2 question.
2.How can I check the answer to compare with the answer in the name of "answer" file.
3.How to prevent the users play the same question again.
0 · ·