I wrote this program to count the number of days I've been bored since today
The program works by loading the number of days from a file named bored, and then adding 1 to this number. The updated number of days bored is SUPPOSED to be saved back in the file - but this does not happen and I don't understand why. I've "bolded" the relevant part of the code.
Are you in a case sensitive environment?
Because you have iFile.open("~/Desktop/C++/Bored/bored.txt"); and oFile.open("~/Desktop/C++/bored/bored.txt");