编辑器
#include
#include
using namespace std; int main() { char myStr[] = "4096 bytes should be enough"; int pos = strspn(myStr, "0123456789"); cout << pos; return 0; }
4