c語言字符串分割函數

C語言字符串分割函數 strsep函數用於分解字符串爲一組字符串。定義語句爲char *strsep(char **stringp, const char *delim); 使用實例:spa #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char str[] = "$GPFPD,2005,2
相關文章
相關標籤/搜索