Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 470 Bytes

File metadata and controls

20 lines (15 loc) · 470 Bytes

Pipe Average (C++)

This project calculates the average of values using multiple child processes and pipes.

Description

Each child process computes partial results and sends them through pipes to the parent process, which calculates the final average.

Features

  • Multiple processes (fork)
  • Pipe communication
  • Parallel computation
  • Average calculation

Technologies

  • C++
  • UNIX system calls (fork, pipe)

How to run

g++ pipe_average.cpp -o app ./app