> Hugh Krogh-Freeman wrote:
> > Hello everyone. I just installed Free BSD 5.1 on my computer. I know C++ and
>  > C, but I am not able to get C++ to compile yet because it doesn't recognize
>  > cout and endl (I wrote a simple "hello world" program). I assume it's because
>  > I am not including the right library.

You need -lstdc++

Or use c++ (instead of cc or gcc) which includes the
C++ Standard Library automatically.

-- 
Cordula's Web. http://www.cordula.ws/

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to