title: echo command using c++
body: <p>I want to issue the echo command inside a c++ file.</p>
  
  <p>All i need to do is </p>
  
  <p>echo "xml::/var/some.xml" >> /var/config</p>
  
  <p>In C++ file, I tried, </p>
  
  <p>system("echo" + "xml::/var/some.xml" +">> /var/config"); </p>
  
  <p>But it throws invalid operands of types const char[6] and const char[46] to binary operator +.</p>
  
  <p>Need help</p>