Search:

Type: Posts; User: jmyrrah

Search: Search took 0.00 seconds.

  1. sorry i'm was wrong.. because it already works...

    sorry i'm was wrong.. because it already works when i put the temp->line = malloc(strlen(str)+1); before strcpy(temp->line,str); on the AddFirst() function

    thanks you so much guys..

    i'll post...
  2. but why is it that when i call the function...

    but why is it that when i call the function display, it will display page number, line number, and the text.
  3. Here is my struct: struct notebook{ ...

    Here is my struct:



    struct notebook{
    char *line;
    int pagenum, linenum;
    struct notebook *next;
    }*note;
  4. Thanks guys.. the above problem is solved. and i...

    Thanks guys.. the above problem is solved. and i found again another problem. i have two function the AddFirst() and Append() both will insert a node. there is no problem with the AddFirst function...
  5. Problem with allocating memory for a char pointer

    Hi, this program I wrote is about creating a notebook using linked list as a final requirement. A notebook with a page number, line number and also a text on each line number.

    Here is my insert...
Results 1 to 5 of 5