How do I change, replace or deleting a line in a text file using c++?
I have a text file that contains login information for users ( username and password ) , for example :
//file
Jimmy jim1236
tom tommy545
Now how can I write a program that allows users to change their own password after they log into the system? I have already done the login part.