title: How to take a c++ console application output and write it into a text file
body: <p>I have created a basic console application. I would like to know how I could take the output and write it into a text file.</p>