title: C++ system echo return value
body: <p>is there any way to system() commands will return value?</p>
  
  <pre><code>int abcd = system("echo %random%");
  std::cout &lt;&lt; abcd &lt;&lt; std::endl;
  </code></pre>
  
  <p>How to do, system() commands will return some value?</p>