As a beginner I want to create a text editor that autosaves the text at intervals. It's not a part of any HW or anything like that. I just wanna learn things. Plz Plz help me out. Got 20 days at home. Wish to complete it before joining college.
As a beginning you should start at the beginning of your learning, not jump smack dabb into the middle of the lake. Buy a book on introduction to c++ and start studying from page 1, not page 500. The Read Me threads at the top of this board have lots of information about that.
- What compiler/OS are you using?
- Console app or GUI?
- How is the data saved?
The next thing would be to save the text at intervals. If your program runs in a loop, you can compare the current time with a preset time to get an interval, or you could use a separate thread with a clock in it that triggers an event for autosaving.