C++ how to pass variable into function?
<pre><code>void webparser()
{
    stringstream ss;
    ss &lt;&lt; "lynx -dump 'http://somesite.com/q?s=" &lt;&lt; currency &lt;&lt; "=X' &gt; file.txt";
    system(ss.str().c_str());
}
</code></pre>

<p>How do i pass e.g "GBPUSD" into webparser if i want use GBPUSD as a char chArray[];
and then assign the passed value as variable currency in my case</p>

<p>Thanks, no return is require.</p>
