does kinda but im seriously stuck on this, iv managed to code the login in but am stuck on the rest.the program has to first read the user ids and passwords from a file and create a binary search tree using the user-ids as a key(assume unique user-ids for convenience).once the tree has been built it should display the following menu,
1) add new user
2)delete user
3)print user
4)exit program
Work on WHAT the input file (holding the uids and passwords) should like.
Work on HOW to read that file (most likely, using a std::ifstream)
And, create the binary tree. If you don't know what that is or how to do it, I would read up on that too.
Then, you can worry about what the "display" should do, and whatever additional stuff/functions/functionality you need, or, want.
So, those would be my next few steps.
As an additional: I am (unfortunately ;)) not an expert on "login-/User management systems", but I DEFINITELY think that holding them in a text file is not the "best"/"most standard" approach. If you know how to use DBs, I would use that in this case.