Link to home
Start Free TrialLog in
Avatar of gopalanravi
gopalanravi

asked on

password verification

I am a beginner in Visual C++. I need some help urgently. I have two edit boxes in a dialog box. Also there is an OK and CAncel button.
                      In one I am supposed to enter a password and in the other I need to confirm the password(that is I type that password once again). If
                      the two passwords match on pressing the OK button then it is fine, else I need a message box which pops up saying that the passwords
                      entered are not same and that we need to check the two passwords once again. Also, if any of the two boxes are blank we need a
                      message box to say that password needs to be entered. On pressing the Cancel button I should be back in the same window with the
                      fields for password and password confirmation cleared. Could someone please help me with writing this code please.


                      Could someone help me out on this fast please!
Avatar of gopalanravi
gopalanravi

ASKER

Adjusted points to 100
ASKER CERTIFIED SOLUTION
Avatar of Stevex2
Stevex2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and one more line
if(edit1 == edit2)
 //continue execution here