A program im trying to make at the minute is a gym program. Which uses a weight lifting routine of 3 exercises
bench press, squat and power clean.
I wanted the program when it was first run to detect the date and store it somewhere permanent that it could access when its run again.
I was looking it to realise when it was run a second time, that it had run before and compare the date now, to the date when it was first run. Then count how many weeks the program had started and add the right amount of weights to the lift
so to summerise.
Make the program know its been run before.
Make it be able to calculate how many weeks since it was first run - using difftime().
Also wanted to store the previous lifts in a file. But ive not idea how to effectively pick correct data from a file. i.e how to find the number and how to save it as an int.
sorry if this is too many questions or unclear. But these things have been bugging me and i really want to understand it all.