+3  A: 

There is none, because C++ does not provide this functionality as standard. You will have to specify a platform and OS before any code can be shown.

DeadMG
+2  A: 

If you're talking about Named pipes under Windows, you can find an example here.

John Dibling