Hi guys, I'm makeing a Homework "tracker", which is basically a day planner. I need help making a settings file for the initial setup. I have a text box, a couple radio buttons, and one "begin" button. I need a way for the program to remember what choices were seleced. Prefereably a way to put a text file in the programs' root folder. Any help would be great.
Thanks in advance,
TSims11
TSims11
0
Newbie Poster
Recommended Answers
Jump to PostThen you need to have a file in the root directory and use the fstream library to read from it and write to it. When the user clicks one of the buttons or whatever, you'll have a function that is called and figures out what to read/write based on whatever …
Jump to PostSo I could just write a text file and make it have the certain settings?
>> Prefereably a way to put a text file in the programs' root folder.
Yes. That's the goal, right? Figure out what you want to have in the file, then when the program starts, …
All 6 Replies
VernonDozier
2,218
Posting Expert
Featured Poster
TSims11
0
Newbie Poster
TSims11
0
Newbie Poster
VernonDozier
2,218
Posting Expert
Featured Poster
TSims11
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.