摘要: char * strcat ( char * destination, const char * source );Concatenate stringsAppends a copy of the source string to the destination string. The terminating null character in destination is overwritten by the first character of source, and a new null-character is appended at the end of the new string 阅读全文
posted @ 2011-10-23 16:37 greencolor 阅读(282) 评论(0) 推荐(0) 编辑
摘要: #include <pthread.h> #include <unistd.h> #include <string.h>#include <iostream> static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; struct node { int n_number; struct node *n_next; } *head = NULL; /*[thread_func]*/ st 阅读全文
posted @ 2011-10-23 00:20 greencolor 阅读(622) 评论(0) 推荐(0) 编辑