These tasks are all related to file access.
You must create a simple program which will act a bit like notepad! It must – Allow the user to open an existing file and load it all into memory Allow the creation of a file if the specified one does not exist. Allow each sentence to be added one line at a time Add each line […]
You have been given a text file containing the following data – bert,32 sally,13 mary,21 bill,25 You must save this data into a text file (with a file name of your choice). Your job is to read in this text file, order it by age (the number) and then output it back to the file […]
You are to write a program which can load and save scores into a file. The file will be structrued as below – 1,masta,5000 2,bert,4325 3,sally,4011 4,sue,3834 5,Les,3731 Each score is on a new line and is made up of the position, name and score. Your program will need to ask for the new score […]