Trending Up...

Trending Up...

effective usage of strtok

char szLine[] = "Hello ladies and gentlemen."; for (char *p = szLine; (p = strtok(p, " /t/n")) != NULL; p = NULL)    printf("...

2008-06-11 18:25:00

阅读数 444

评论数 0

Use event to terminate a windows thread gracefully (MSDN sample)

// The following demonstrates trivial usage of the CEvent class.// A CEvent object is created and passed as a parameter to another // thread. The ot...

2008-06-08 13:50:00

阅读数 1368

评论数 0

split string in C

char *my_strtok(char *str, char sep){    static char *next_token = NULL;    char *start = str ? str : next_token;    if(!start)        return 0;     ...

2008-06-06 10:25:00

阅读数 632

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭