I want to allow users of my program to click File>Save and have a save dialog open and allow them to save all of their input. here is the background of my program.
I have a program that allows students to calculate their grades as the class progresses. I want them to be able to type in their information and i already have the program written for them to be able to calculate everything via different types of work based on weights for homework tests etc etc.
I do not know how to write the code to allow variables to be saved to a text file defined by the user.
I also do not know how to write the code to allow that user to open that file and import all the data back into it.
If someone could write me sample code, based on saving these three variables i would greatly appreciate it.
variables hwPtsPoss (homework points possible), hwPtsAtt (homework points attained), and.... hwWeight (homework weight) all of these are defined as variable type double and standardly use digits and decimals only.
Thank you very much in advance to whomever can help.