title: C++ printf: newline (\n) from commandline argument
body: <p>How print format string passed as argument ?</p>
  
  <p>example.cpp:</p>
  
  <pre><code>#include &lt;iostream&gt; 
  int main(int ac, char* av[]) 
  {
       printf(av[1],"anything");
       return 0;
  }
  </code></pre>
  
  <p>try:</p>
  
  <pre><code>example.exe "print this\non newline"
  </code></pre>
  
  <p>output is:</p>
  
  <pre><code>print this\non newline
  </code></pre>
  
  <p>instead I want:</p>
  
  <pre><code>print this
  on newline
  </code></pre>