Ok so here is my problem, i have to write a simple computr system consisting of the processor and the memory,
The project will simulate a simple computer system consisting of a CPU and Memory.
The CPU and Memory will be simulated by separate processes that communicate
I have to use unix fork to create child processes and a pipe so that both the memory and processor can communicate
My idea is to start of with 2 classes the processor class and the memory class , but am not sure how the forking will work. The pipe i have some idea but its also a bit blurry , hence i never used this two before. I also have the choice of usign java and runtime but i want to try on c++ to get more experience.