Detection C++ Pipes Source Code

Working code to read/write into a pipe.