c/c++ No.21 查找任意一个字符

来源:互联网 发布:手机键盘软件 编辑:程序博客网 时间:2024/06/04 20:04

char *strpbrk(char const *str, char const *group);

#include <iostream>#include <cstring>using namespace std;  int main() {    char a[101] = "1234567890987654321";    cout << strpbrk(a, "abd0") << endl;    return 0;  }  
0 0
原创粉丝点击