摘要: 1 #include 2 #include 3 4 int main() 5 { 6 char a[100] = "aa_vfb_wffwk_fth_nnn"; 7 char *s;//定义一个char的指针变量 8 s = strtok(a, "_");//strtok函数分割字符串 9 10 while(s) 11 ... 阅读全文
posted @ 2018-01-28 12:38 heheheda 阅读(267) 评论(0) 推荐(1) 编辑