I wanted to do proccess intercommunication.
Looked at pipe() and popen(), but as they being from C they work with file descriptors or FILE pointers.
The thing is, the syntax. I don't like the format string.
Also the classes have void print(ostream&); methods
¿Is there a way to convert them to std::fstream?
I guess that ostringstream could help, but it's a waste of memory.
The actual issue
$ ./intensive_computation | ./analyzer
But I want to see the output of the first, but that is not what the second should receive