由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 如何实现 strtok() ?
相关主题
有没有类似strtok的函数问一个python的string split问题
(char **)返回值怎么用SWIG包成Python list (of stringshelp on string parse
这个有更好的算法吗?string /File IO processing using C
New C++ programmer, need to ask a I/O file read questionistream_iterator问题
c的问题how to read a sentence into a vector of string?
一道算法题,到现在也没弄明白,谁能帮忙看看。怎样才能用perl等东西知道c macro中的数值
如何实现这个“time to send out email“?诚心请教Perl:简单的Variable Match in Regular expression
Perl插入MySQL中双引号的问题搞机械的请教如何写这么一个小程序
相关话题的讨论汇总
话题: string话题: strtok话题: null话题: delimiter话题: char
进入Programming版参与讨论
1 (共1页)
s*********e
发帖数: 17
1
char * strtok( const char * string, const char * delimiters );
Sequentially truncate string if delimiter is found.
第一部分:
If string is not NULL, the function scans string for the first occurrence of
any character included in delimiters. If it is found, the function overwrites
the delimiter in string by a null-character and returns a pointer to the token
, i.e. the part of the scanned string previous to the delimiter.
第二部分:
After a first call to strtok, the function may be called with NULL as str
1 (共1页)
进入Programming版参与讨论
相关主题
搞机械的请教如何写这么一个小程序c的问题
这个PERL表达式干啥的?一道算法题,到现在也没弄明白,谁能帮忙看看。
C++中parse string的问题如何实现这个“time to send out email“?
scala 的感悟Perl插入MySQL中双引号的问题
有没有类似strtok的函数问一个python的string split问题
(char **)返回值怎么用SWIG包成Python list (of stringshelp on string parse
这个有更好的算法吗?string /File IO processing using C
New C++ programmer, need to ask a I/O file read questionistream_iterator问题
相关话题的讨论汇总
话题: string话题: strtok话题: null话题: delimiter话题: char