This week I have managed to get the remaining part of the write function working as I need it to. Last week using the write function I was able to add a new entry to the record that the program could access but I was not able to edit password that had already been entered into the program and saved. This week I managed to finally get that part to work and it sure was difficult. Below are a few screenshots that show this function working.
The first screenshot shows the my test file which contains entries and passwords to show how they would appear when this program is actually used. This is how the entries and passwords appeared before the program demonstrating the portion of write function I figured out this week. Below that is a screenshot of the command prompt showing me running this program. The reason that the password in the file is the exact same as the password as what the program says that it is plus a number is that there needs to be a way to distinguish passwords from each other even if they are the same. While demonstrating the program I change two password to show that using the code I don't have to reboot the program each time I want to change a different password And the final screenshot shows the program after I have run the program. Notice how the passwords under Entry1 and Entry3 have changed. That is due to the program working correctly.
Programming is a very interesting topic and I can see from your programming progress that you have gotten pretty far into it. Would you say it's something that any person could just Google and find answers on how to program different softwares, or do you think classroom education is needed?
ReplyDelete