Search:

Type: Posts; User: p1c1078

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,916

    RoshanX, Thank you so much for enlightening...

    RoshanX,

    Thank you so much for enlightening me. It works like a charm now.

    Forever greatful,

    P1C1078
  2. Replies
    3
    Views
    1,916

    My final data does not display

    My final data does not display. I must being passing the pointers incorrectly to the subsequent functions. Can anyone help? I didn't want to list all my code but felt it was necessary for clarity.
    ...
  3. Replies
    15
    Views
    3,332

    Hammer, Thanks for your help. I've gotten past...

    Hammer,

    Thanks for your help. I've gotten past the compile error issue but now I'm not getting any final data to display.

    I must being passing the pointers incorrectly to the subsequent...
  4. Replies
    15
    Views
    3,332

    Hammer, I get the following UNIX compile...

    Hammer,

    I get the following UNIX compile error:

    g11.c: In function `f_input2':
    g11.c:210: warning: `return' with a value, in function
    returning void
  5. Replies
    15
    Views
    3,332

    fyi - Using a UNIX based compiler here. As was...

    fyi - Using a UNIX based compiler here.

    As was done in the code Salem added for 'f_input1' function I also need to return a pointer to a subsequent function from the 'f_input2' function. I'm not...
  6. Replies
    15
    Views
    3,332

    Thanks Hammer! Works great!!

    Thanks Hammer! Works great!!
  7. Replies
    15
    Views
    3,332

    Salem, Thanks for your help. The code works...

    Salem,

    Thanks for your help. The code works nicely with 2 minor exceptions:

    1. I had to move

    struct s_employee *emps;

    to the top of the pgm because of compile errors.
  8. Replies
    15
    Views
    3,332

    Not sure of the proper format to return a linked...

    Not sure of the proper format to return a linked list. I've not found any good examples. Is this right?

    /* return a linked list from f_input1 function */
    return (struct...
  9. Replies
    15
    Views
    3,332

    I added the flush but still having problems....

    I added the flush but still having problems. Perhaps I'll attempt to debug or ...




    /************************************************************************/
    /* begin -...
  10. Replies
    15
    Views
    3,332

    If I do that won't I lose all previously entered...

    If I do that won't I lose all previously entered data that's in memory?
  11. Replies
    15
    Views
    3,332

    Thanks Hammer. Changed that from f to i but I...

    Thanks Hammer. Changed that from f to i but I still have the same error.
  12. Replies
    15
    Views
    3,332

    segmentation fault - pointers/functions

    I'm having a problem in my second performed function. After the first 'hours' are entered I get a 'segmentation fault'. Any thoughts?




    #include <stdio.h>
    #include <strings.h>
    #include...
Results 1 to 12 of 12