Search:

Type: Posts; User: luro

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    3,984

    what exactly are the "wrong" values its printing...

    what exactly are the "wrong" values its printing out. In my experience, when testing reading in input it is helpful to print all the input out, not just a few, so you can watch exactly where...
  2. Thank you so much for your help. My code is now...

    Thank you so much for your help. My code is now working ( I had a few logic bugs to work out on my own). I do have some general language questions from this if you (or someone else from here)...
  3. Yeah, I was taught that they are the same thing. ...

    Yeah, I was taught that they are the same thing. So, here is some updated code:



    #include <unistd.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <sys/wait.h>
    #define WRITE 1
    #define...
  4. warning: passing arg 2 of `execv' from incompatible pointer type

    Hello. I am trying to write a shell program, one that takes in 2 UNIX commands and executes it. the format for input is:
    <command> | <command>
    My problem is that for some reason, the execv call...
Results 1 to 4 of 4