(please edit your post to make it a bit clearer, you have duplication in there)
yeah, so ? what have you done up to now ?
Is this a console application ? or a GUI application ?
I assume it's a console application...
Learn and use
std::cin
,
std::cout
to print and read information on the screen.
Something like:
std::string username;
std::string password;
std::cout << "enter username" << std::endl;
std::getline (cin,username);
std::count << "enter password" << std::endl;
std::getline( cin, password );
if ( checkUserPassword ( username, password )
{
}
else
{
}