Search:

Type: Posts; User: zhoufanking

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    4,266

    PART 1 ref code #include ...

    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
  2. Replies
    3
    Views
    2,271

    fork a child or create a thread?

    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...
  3. Replies
    4
    Views
    3,436

    thank you QuantumPete!

    thank you QuantumPete!
  4. Replies
    4
    Views
    3,436

    What dose this type casting mean??

    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...
Results 1 to 4 of 4