PART 1 ref code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
//extract a aubstring from a given string 'src' here
Type: Posts; User: zhoufanking
PART 1 ref code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
//extract a aubstring from a given string 'src' here
hi all:
these days I'm learning to use multiprocess and multithread. I've a question that when a child process is better than create threads. And under what condition in your code, you'll use...
thank you QuantumPete!
hi all:
I just met a peice of code using such a type casting :
if(to->sin_addr.s_addr != (unsigned)-1){
strcpy(hnamebuf, av[0]);
hostname = hnamebuf;
}
how to understand...