I've got to make a Property To Let program that can allow the user to add, view or delete property details to and from a text file. I have done the add and view part but i am having trouble getting the delete working.
I've managed to get it to delete the last line of a text file by deleting a set amount of characters from the end. I've also been told by a friend that it involves removing all contents of that text file into a vector (yes i have to use vectors) and then deleting the specific line from there. but when i tried this it could never find the line in the file even though it was there.
My project has three relative classes, i'll display the code for these below. I'm also fairly new to java so forgive me if i need things in simple terms