摘要:
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 ... 阅读全文