title: Status function. How can I give a parameter by a variable?
body: Hi!
  
  <p>I'm writting a program, which starts another program by status function.
  My second program has an option -m, which takes a integer as value.
  I want to give him a value by a variable, and I dont know how to do it.
  <p>What I mean:</P></p>
  
  <pre><code>int status = system("./ex1 -m 123");
  </code></pre>
  
  <p>And I want in place "123" put smth like that:</p>
  
  <pre><code>int a = 20;
  int status = system("./zad1 -m a");
  </code></pre>
  
  <p>Please help!</p>