摘要: @interface Utility : NSObject{}//验证身份证是否有效+ (BOOL)checkIDCard:(NSString *)str;@end@interface Utility ()int checkIDfromchar (const char *sPaperId);@end@implementation Utility//验证身份证是否有效int checkIDfromchar (const char *sPaperId) { long lSumQT =0; int R[] ={7, 9, 10, 5, 8, 4, 2, 1, 6,... 阅读全文
posted @ 2012-09-04 16:00 Maxfong 阅读(396) 评论(0) 推荐(0) 编辑