时传祥 粪霸:strtok函数

来源:百度文库 编辑:高考问答 时间:2024/05/15 11:12:21
有如下字符串:
1|2|3|4|5
如果我要用变量a存5,用strtok函数怎样实现?谢谢!