Search:

Type: Posts; User: reptonite

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,094

    hmm

    OK, thanks Citizen. I just didn't understand his reply. So what you are basically saying is that both are correct, but my second while loop is slicker. Excellent.

    You learn something new...
  2. Replies
    8
    Views
    1,094

    Ok, we lost Salem, anyone? Can you tell me if the...

    Ok, we lost Salem, anyone? Can you tell me if the while loop in both cases is correct?
  3. Replies
    8
    Views
    1,094

    Sorry...

    Salem, thanks for the reply, but I am not clear. Are you saying that the second piece of code in my first post is actually correct? And are both versions of the while loop going to work anyway?
  4. Replies
    8
    Views
    1,094

    A little help with lists please...

    Hi there

    I am busy swatting, but have hit a speed-bump. It has to do with reversing arrays whilst not allowing use of the array brackets (doing it with pointers in other words).

    Basically, I...
  5. Replies
    8
    Views
    1,516

    You're astute

    Agreed, if I could post the assignment, I would, but basically the dutch C lecturer enjoys playing games. Though he threw us a bone with the sscanf, he played down (heavily) the use of the wait ()...
  6. Replies
    8
    Views
    1,516

    ok, last question, anyone, what line do I add to...

    ok, last question, anyone, what line do I add to the above code to make sure that all PID's are killed off?
  7. Replies
    8
    Views
    1,516

    Ok, I worked it out

    Thanks for at least one person picking up on the forking reference though. nice to see someone with a sense of humour, and possessed of C.




    #include <stdlib.h>
    #include <stdio.h>
    #include...
  8. Replies
    8
    Views
    1,516

    lol, was tyoing and posting when you sent your...

    lol, was tyoing and posting when you sent your reply, but my problem isn't forking, its fecking basic structure <sigh> forking hell

    lol
  9. Replies
    8
    Views
    1,516

    Ok, maybe if I'm a bit more specific. This is...

    Ok, maybe if I'm a bit more specific.

    This is me at the moment




    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
  10. Replies
    8
    Views
    1,516

    have I got forking problems, or what?

    lads

    I'm new to C, and am playing catch-up on assignments. While I'm not looking for anyone to do work for me, I nevertheless need someone to walk me through a problem. I understand forking, but...
Results 1 to 10 of 10