文件名称:Character_match_mobile_number
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
中国大陆手机号码合法行判断。手机号码的标准格式:国家码+手机号码。特点:1、长度13位;2、以86开头;3、手机号码的每一位全是数字。
判断结构要求:1、手机号码合法,返回0;2、手机号码长度不合法,返回1;3、手机号码中包含非数字的字符,返回2;4、手机号码不是以86开头的,返回3;-Mainland China mobile phone number to determine the legal line. Phone number of a standard format: country code+ phone number. Features: 1, length 13 2 to 86 at the beginning 3, every phone number all numbers. To determine the structural requirements: 1, legitimate phone number, return 0 2, the length of phone number is not valid, return 1 3, phone number contains non-numeric characters, return 2 4, cell phone number is not the beginning of 86, return 3
判断结构要求:1、手机号码合法,返回0;2、手机号码长度不合法,返回1;3、手机号码中包含非数字的字符,返回2;4、手机号码不是以86开头的,返回3;-Mainland China mobile phone number to determine the legal line. Phone number of a standard format: country code+ phone number. Features: 1, length 13 2 to 86 at the beginning 3, every phone number all numbers. To determine the structural requirements: 1, legitimate phone number, return 0 2, the length of phone number is not valid, return 1 3, phone number contains non-numeric characters, return 2 4, cell phone number is not the beginning of 86, return 3
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Character_match_mobile_number.cpp