title: How do you read the console output from windows commands in C++?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/43116/how-can-i-run-an-external-program-from-c-and-parse-its-output">How can I run an external program from C and parse its output?</a>  </p>
  </blockquote>
  
  
  
  <p>If you run a Windows command from inside your program (let's say ipconfig as an example), how do you read the output the system gives you back into your program for processing?</p>