摘要:
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 阅读全文
摘要:
#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 阅读全文