if someone puts in the wrong password it will return them to the beginning to line 13?
use a loop
zeroliken
Nearly a Posting Virtuoso
1,346 posts since Nov 2011
Reputation Points: 214
Solved Threads: 205
Skill Endorsements: 14
FYI, char cPass; defines one character. There is no way you can cram "correct" into one character.
WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37