I have a situation, meaning I have 2 processes going on and I want the two to communicate between each other.
the thing is in the first one I have an array like int r, and i want to use this variable in the second process. I thought pipe is simple but it seems I got something wrong, cause I get a lot of errors. probably is my mistake. Also I have to syncronize them with semaphores,and that's a little tricky
Anyway if someone can help me and give me a hint on how to do this I'd be very graceful