Hello Everyone. I wanted to know if there is any way I can use linux commands in C++. I want to store the output of a program in a file which is otherwise displayed on the screen using cout. I want that output to be stored in a file instead of displaying it on the screen. For example I write Code: ./runApp > abc.log on the command line and it writes the output in a file called abc.log. So is there any way I can use this command inside C++ code?