文件名称:password
介绍说明--下载内容均来自于网络,请自行研究使用
密码通常由四类字符组成:
1、大写字母
2、小写字母
3、数字
4、其他符号(不含空格)
你需要编写一个密码类,实现判断密码安全等级的功能。密码安全等级的计算方式如下:
1、合法密码必须以字母开头,并且长度不小于6。
2、不合法密码的安全等级为0,合法密码的安全等级为密码中出现的字符的种类数。-The password is usually composed of four characters: 1, 2 uppercase letters, lowercase letters 3, number 4, other symbols (without spaces) you need to write a code class that implements the functions determine the level of password security. Password security level is calculated as follows: 1, legitimate password must begin with a letter, and the length of not less than 6. 2, illegal password security level is 0, the legal level of security passwords for the password in the number of types of characters appear.
1、大写字母
2、小写字母
3、数字
4、其他符号(不含空格)
你需要编写一个密码类,实现判断密码安全等级的功能。密码安全等级的计算方式如下:
1、合法密码必须以字母开头,并且长度不小于6。
2、不合法密码的安全等级为0,合法密码的安全等级为密码中出现的字符的种类数。-The password is usually composed of four characters: 1, 2 uppercase letters, lowercase letters 3, number 4, other symbols (without spaces) you need to write a code class that implements the functions determine the level of password security. Password security level is calculated as follows: 1, legitimate password must begin with a letter, and the length of not less than 6. 2, illegal password security level is 0, the legal level of security passwords for the password in the number of types of characters appear.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
password.cpp