Hello :) I'm gonna write a ATM simulator, but i want to store usernames, card numbers, adresses on server. For example: User runs program -> program asks for card number and password -> program checks file.txt on the remote server, if everything matches -> user can use bank account. But the problem is, i dont know how to do that. I just know c++ basics etc. Also sorry if this post is in wrong place.
https://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm (I)
http://www.cplusplus.com/doc/tutorial/files/ (II)
http://www.cplusplus.com/doc/tutorial/control/ (III)
To do the program, you have to manipulate the entries in the .txt file, then associate it with variables (read I and II). After that, you have to check if the user inputs are true or false, comparing the inputs with the variables (read III).