Hello, I am currently working on a project that validates passwords. However, we can only use the cstring class. Therefore any function that would be in c++ such as getline is not allowed to be implemented in this project. This is currently the main the dilemma I am facing.
Currently the text file contains a bunch of sample passwords that we read into the project to make testing easier. Below is the txt file.
I have three functions currently. One reads the file in, another checks the file exists, and the last has yet to be coded because I'm currently at a standstill not being able to separate the the passwords. Below is the code I currently have written.