Users saving data on a text editor
Hi. I am trying to make a simple text editor. Although I'm getting somewhere, I need help in one particular thing, how to save. I don't mean how to save the code I typed in the complier, I mean how do users save the document they are working on. If it helps at all I would like the program to save when users press the number 2 (numeric order in commands). If you need any more details about the program just reply to this thread or PM me.
Also, although I am NOWHERE near it, I will need to find out how to print the document as well.
Thanks, this really helps.