strtok()函数问题
#include <string.h>#include <iostream>using std::cout;int main(){char s[] = "ab cde fek alksi lslkj"; char *dec = "+"; char *p = NULL; p = strtok(s,dec); while(p != NULL) { cout << p << endl; p = strtok(NULL,dec); }return 0;}