title: Input from command line
body: <p>I have a program in C++ which I run for many values of a parameter. What I want to do is the following:
  Let's say I have two parameters as:</p>
  
  <pre><code>int main(){
      double a;
      double b;
  //some more lines of codes
  }
  </code></pre>
  
  <p>Now after after I compile I want to run it as </p>
  
  <pre><code>./output.out 2.2 5.4
  </code></pre>
  
  <p>So that <code>a</code> takes the value 2.2 and <code>b</code> takes the value 5.4.</p>
  
  <p>Of course one way is to use <code>cin&gt;&gt;</code> but I cannot do that because I run the program on a cluster.</p>