Search:

Type: Posts; User: Matteaus

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,267

    Thank you very much for your help. I have it...

    Thank you very much for your help. I have it running now. The problem was the sizeof(input_buffer). I needed to specify exactly the size which is sizeof(char) * strlen(input_buffer)
  2. Replies
    7
    Views
    1,267

    Thanks, thats got something printing but its...

    Thanks, thats got something printing but its wrong and all over the place. To read line by line into a file how would I go about that?
  3. Replies
    7
    Views
    1,267

    Ok I realised I wasnt mallocing any space for...

    Ok I realised I wasnt mallocing any space for input_buffer but now the loop is going forever and printing nothing. Errno says bad file number.
  4. Replies
    7
    Views
    1,267

    It's saying bad address

    It's saying bad address
  5. Replies
    7
    Views
    1,267

    Simple Read Write problem

    Sorry guys for the terribly basic question.

    I need to open, read and write information from and to a standard file.
    Atm I am just trying to write the info to stderr to test if its working but to...
  6. Replies
    2
    Views
    7,726

    Exec and Pipe problem

    Hey guys. I have to make two c programs, parent.c and child.c. Basically the parent will fork a new process for every child it needs to make, create a pipe and connect the stdio input or output of...
Results 1 to 6 of 6