Search:

Type: Posts; User: vital101

Search: Search took 0.00 seconds.

  1. Okay, I think I get it...

    First of all, thank you so much for being patient. Anyways, I read what you said about pointers. I already knew this, but it seems I was getting some fundamentals mixed up. I've implemented...
  2. Cleaned up

    After reading your last reply, I decided to go through and try something a bit different. It won't work, but I feel I'm much closer than previously.


    #include <sys/types.h>
    #include <stdlib.h>...
  3. Nope..

    So I implemented the changes seen in your previous post. However, they had no effect. Back in main() when I try to do


    printf("PID1: %d\n", list->pid);
    printf("PID2: %d\n", list->next->pid);...
  4. No luck...

    I've implemented that changes that were pointed out to me, fixed any compilation errors, but I still get the same problem. My code now looks like:


    #include <sys/types.h>
    #include <stdlib.h>...
  5. Fork(), pause(), and storing PID's in a linked list

    Hey everyone,

    I've been beating myself up over this one, so any help would be amazing. First, let me give you some background information. I am limited to using the calls fork, pause, kill,...
  6. Replies
    3
    Views
    11,830

    Thanks, that solved my issue.

    Thanks, that solved my issue.
  7. Replies
    3
    Views
    11,830

    Using strcpy() and arrays of structs

    Hello everyone,

    I'm having an issue using strcpy() and having one of the values being an array of structs. Here's the important parts:


    #include <string.h>
    .
    .
    .
    struct identifiers {
Results 1 to 7 of 7