Search:

Type: Posts; User: Evilelmo

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,291

    Yup, that was what i intended. Good point though...

    Yup, that was what i intended. Good point though cos I neva took into consideration a broken up string...
    Thanks for all the help.
  2. Replies
    4
    Views
    2,291

    Thank you. I'll store the char directly into str2...

    Thank you. I'll store the char directly into str2 as you suggested.

    I understood what you said about the memory location being invalid but why does this function work when it is called upon the...
  3. Replies
    4
    Views
    2,291

    Weird string output only for first run

    When calling the following function for the first time, the string it prints out is some weird ANSII characters. However, when I call on the function subsequently with the exact same variables, it...
  4. Replies
    5
    Views
    2,182

    Thanks for the help

    Thanks for the help Cela and Sebastiani. Really appreciate it.
    I think the book was trying to illustrate what you guys were showing me but with the numbered ptr's and its poor sequencing I got all...
  5. Replies
    5
    Views
    2,182

    Continuation from above (sorry)

    I apologise for not finishing the first post.

    1) what is the difference between ptr1 pointing and ptr1->link pointing? why the command "ptr1 = ptr1->link;"

    2) why is it necessary to allocate...
  6. Replies
    5
    Views
    2,182

    Help In Visualising Pointers ( C Program )

    Hi !

    I'm having difficulty understanding this example from a C programming book.


    #include <stdio.h>

    typedef struct NodeTag {
    int data;
    struct NodeTag *link;
Results 1 to 6 of 6