int _tmain(int argc, _TCHAR* argv[]) { char s[10] = "abc'def"; for(int i = 0; i< strlen(s);i++) { if(s[i] == '\'') //找出' { cout<<"i find it"<<endl; } } system("pause"); return 0; }
64,691
社区成员
250,497
社区内容
加载中
试试用AI创作助手写篇文章吧