Search:

Type: Posts; User: DamienCurr

Search: Search took 0.00 seconds.

  1. Okay, I'm back. I tried something different. But...

    Okay, I'm back. I tried something different. But it's not performing properly...



    //Uses two pipes to establish 2-way communication

    #include <stdio.h>
    #include <string.h>
    #include...
  2. Two way communication between parent and child processes...

    Good afternoon!

    Taking the following into account:




    /**************************************************************
    * p2cComm.c
    *
  3. Replies
    5
    Views
    3,199

    Evening! What I mean is that the parent...

    Evening!

    What I mean is that the parent process executes "ps -ef" and sends it down the pipe to the child process which uses it as input for grep. I have an example of the unnamed pipe which works...
  4. Replies
    5
    Views
    3,199

    Troubles continue...It does not appear as if the...

    Troubles continue...It does not appear as if the pipe is working. The first part, "ps -ef" is working but not the second part.

    Ideas as to why?





    #include <stdio.h>
    #include <stdlib.h>
  5. Replies
    5
    Views
    3,199

    Trouble with named pipe...

    Good evening,

    I am trying to use a named pipe to implement communication between two UNIX commands. It does not compile properly. The error message in Dev-C++ is "syntax error before numeric...
  6. C Programming question about file manipulation

    My thanks to everyone who posted a reply! All were excellent suggestions. I now have a better understanding of the process.

    This is what I went with:




    else if (option == 4)
    {
    ...
  7. C Programming question about file manipulation

    Good evening!

    I have a C program that I have been working on for most of the week. I have gotten around 75% of it working. I'm stuck on the last part.

    The question:

    How do you read a file...
Results 1 to 7 of 7