<font size="4"><font face="garamond,serif"><font><font face="arial,helvetica,sans-serif">Hi,<br><br>I am trying to inline some C++ code in a lisp function and include the iostream header file. But i keep getting an iostream not found error although it is one of the standard libraries:<br>
<br>(ffi:clines "#include <iostream>")<br><br>(defun try (x)<br> (ffi:c-inline (x) (:int) (values :int) "<br>{<br>std::cout << #0;<br>@(return)= 1;<br>}"<br> :side-effects nil))<br>
<br>(try 2)<br clear="all"></font></font></font></font><br>Any ideas?<br><br>-- <br>bob<br>