am a beginner in C++;
am writing a program on C++ and i have bin trying to make a user enter his username and to enter a password and If correct the program will output a message such as: "Welcome Name of User”
If incorrect my program should allow at least one further input of the code word before terminating the process. please how do i go about it. spent all night
try doing it first by urself. then someone will help u...
you can get the username from the user and then compare it with the username which is in the file or something.(same with the password). to print "welcome user" do the following or something
username is the variable having the user's name.
only if u start doing it, someone will help u.. :)