Definition
An instance O of the data type cmdostream is an C++ostream connected to the input of a shell command cmd, i.e., all output operations or operators applied to O write into the standard input of command cmd.
#include < LEDA/stream.h >
Creation
cmd_ostream | O(char* cmd) | creates an instance O of type cmd_ostream connected to the input of command cmd. |
Operations
All operations and operators (< <) defined for C++ostreams can be applied to command output streams as well.