Hello I was wondering if anyone can help me with this code see what im doing wrong first of all I cant get the character setting right for password and when run it on visual c++ express it wont compile but works fine in c++ dev
cout << "Please Enter a User Id\n";
cout << "User Id must be at least 6 characters long\n";
repeat1:
cin >> username2;
if (username2[6] <= username1)
{
cout << "Please ReEnter Id Not enough characters\n";
goto repeat1;
}
else
cout << "Your User Id is "<< username2 << endl;
}
int Pass()
{
cout << "Please Enter your password\n";
cout << "Your password must be at least 7 characters long\n";