Thread: file i/o
View Single Post
  #3 (permalink)  
Old 09-15-2008, 06:02 PM
erabyss erabyss is offline
Newbie
 
Join Date: Sep 2008
Posts: 6
Credits: 0
Rep Power: 0
erabyss is on a distinguished road
Default Re: file i/o

Thats fine. I can set the file up any way I need to. If you can just point me towards a guide/tutorial that can show me how to write a program to do what I need. Or show me a code that I can look at and learn from. That would be awesome.

The way I have my program set up is: The functions that handles the questions returns 3 values.
1- The type of question it is.
2- The question the player needs to solve.
3- The answer to the question.

The guides I have been using only teach the basics of reading and writing to a file. What I use in the program above is as far as it goes. I can write to a file, append to a file, copy over a file, or print the texts of a file. I have no more control than that atm. I have looked but I havent found anything only that a noob like me can understand. I need to see a program to know how to use the code.

Thank you for all your help.
Reply With Quote