執行 ❯
建立您
自己的
網站
×
更改方向
更改主題,深色/淺色
前往 Spaces
#include <iostream> #include <cstring> using namespace std; int main() { char myStr[] = "I think 4096 bytes should be enough"; char * pos = strpbrk(myStr, "0123456789"); cout << pos; return 0; }
4096 位元組應該足夠了