Search:

Type: Posts; User: CFRK

Search: Search took 0.01 seconds.

  1. Thread: help please !

    by CFRK
    Replies
    1
    Views
    804

    help please !

    I am trying to read a file using pointers and this is all i get !

    54123132132
    21
    2152
    22
    2
    2
    5212
    2
  2. Replies
    3
    Views
    1,284

    Salem this for u !

    Can you please tell me how i can change this line ?


    newptr->ID = NUM;
    printf ("%d",NUM);

    newptr->nextptr=(node*)malloc(sizeof(node));
    ...
  3. Thread: Link List output

    by CFRK
    Replies
    2
    Views
    1,538

    Do you have any suggestion on how i can do that ?

    Do you have any suggestion on how i can do that ?
  4. Thread: What's wrong ?

    by CFRK
    Replies
    3
    Views
    933

    How do i fix it ? > newptr=...

    How do i fix it ?

    > newptr= (node*)malloc(sizeof(node));
    If this is really C (and not C++ in >disguise), then you should not be casting the result of malloc.



    what's wrong...
  5. Thread: Link

    by CFRK
    Replies
    1
    Views
    1,260

    Link

    How cam i read from a .txt file that contains ID number and generate a dynamic linked list, where each node of the linked list would contain a single integer from the ID.



    Thanx again.
  6. Thread: File

    by CFRK
    Replies
    1
    Views
    974

    File

    Can anyone help me with line 29, dont know what's wrong with it.
  7. Thread: help !

    by CFRK
    Replies
    2
    Views
    1,110

    help !

    I am write a C program that will read from a text file called id.txt

    Basically on that i have my name and DOB in the following format (120667)and generate a dynamic linked list, where each node of...
  8. Thread: Open

    by CFRK
    Replies
    2
    Views
    1,068

    Open

    what's the code to open a .txt file on unix.
Results 1 to 8 of 8