UNIX/Linux Programming - October 2011 (Page 4)

basic forks and pipes
 
Hi, I am new to Unix & C++ programming, and I am having trouble correctly creating child processes. I want to create a specific number of processes (let's say 5...
[2 replies] Last: I solved it! I removed the statements which close the pipe. I guess wh... (by Toan Tran)
char* const*
 
I am writing a simple shell and I'm getting an error on the execvp function: error: cannot convert `char*' to `char* const*' for argument `2' to `int execvp(co...
[5 replies] Last: Thanks guys! I fixed the error by doing this: char** tokens; //get i... (by restingParrot)
October 2011 Pages: 1234
  Archived months: [sep2011] [nov2011]

This is an archived page. To post a new message, go to the current page.