摘要: 1 BOOL IsValidEmail( const CString& email ) 2 { 3 int pos = 0; 4 int countAt = 0; 5 int posAt = 0; 6 int posPoint = 0; 7 for(;pos<email.GetLength();pos++){ 8 if(::isspace(email[pos])){ 9 return FALSE;10 }11 if(_T('@') == email[pos]){12 ... 阅读全文
posted @ 2013-10-24 13:10 ssp1024 阅读(411) 评论(0) 推荐(0) 编辑