Thanks for helping me!
Type: Posts; User: cbgb
Thanks for helping me!
Hi. I read the faq on random number generation, but I would like to be able to generate one of three different numbers (only) in a random sequence.
In other words, I have three "levels": 15, 25,...
Thanks for your response.
If I do not pass the pipe array to the functions, should I use scanf to read stdin (which has now been overridden by the pipe)? When I tried to do this the screen hangs,...
Thanks for taking a look at it. I am only posting the relevant sections.
...
/****************************/
/* Global variables and constants: */
/****************************/
Hi. I am using the fork() and pipe() functions to establish communication between 2 processes. If one process writes to the pipe, and the second process reads the pipe, how does the second process...
Thanks for the reply... Actually, the execve seems to be working fine. My question is more about the use of pipe() between 2 separate programs (BTW ./pgm2.o is an executable). Basically, do I need to...
Sorry about that... this is my first post. I still can not find an example, so any help would be appreciated.
Thanks!
Hi. I have been looking through the posts for fork, pipe, dup2, and IPC, but I have not found an answer to my question, so here goes:
I want to set up a pipe between 2 separate programs using...