Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (passP.GetLength() < 6)
- {
- AfxMessageBox("Недостаточно символов, введите сначала. У вас осталось ", 0 , 0);
- return FALSE;
- }
- for (int i = 0; i < passP.GetLength(); i++)
- {
- if ((passP[i] >= '!' && passP[i] <= '/') || (passP[i] >= ':' && passP[i] <= '@') || (passP[i] >= '[' && passP[i] <= '`') || passP[i] >= '{' && passP[i] <= '~')
- {
- Verparol = TRUE;
- }
- if (passP[i] >= '0' && passP[i] <= '9')
- {
- Verparol5 = TRUE;
- }
- if (passP[i] >= 'A' && passP[i] <= 'Z')
- {
- Verparol6 = TRUE;
- }
- }
Add Comment
Please, Sign In to add comment