error C2297: '<<' : illegal, right operand has type 'double'
<pre><code>string mesag="";
mesag="aDoubleArray value at 0-------&gt;"&lt;&lt;aDoubleArray[0]&lt;&lt;"   aDoubleArray value at 1 is "&lt;&lt;aDoubleArray[1];
addLog(AMR_LT_WARN, mesag);// this part not working 
addLog(AMR_LT_WARN, "this works well");
</code></pre>

<p>i dont know anythng about c++ just want to print aDoubleArray values to log file but it throws 
 error C2297: '&lt;&lt;' : illegal, right operand has type 'double'</p>
