Search:

Type: Posts; User: zacs7

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    1,271

    Oops, I knew that I just couldn't count that...

    Oops, I knew that I just couldn't count that Hello = 5, not 4.
  2. Replies
    5
    Views
    1,271

    Yes? Remember it's just a char pointer, when...

    Yes?

    Remember it's just a char pointer, when you create a new node/record allocate memory for it (how ever much you need)

    ie,

    Recrd rc;

    rc.name = malloc(5);
    strcpy(rc.name, "Hello"); ...
Results 1 to 2 of 2