Date: Mon, 19 Jan 2004 18:33:56 +0100 (CET) From: Cordula's Web <cpghost@cordula.ws> To: wmoran@potentialtech.com Cc: questions@freebsd.org Subject: Re: New freebsd user here Message-ID: <20040119173356.F24F740854@fw.farid-hajji.net> In-Reply-To: <400BEE9A.6030801@potentialtech.com> (message from Bill Moran on Mon, 19 Jan 2004 09:50:02 -0500) References: <20040119035817.29863.qmail@web60901.mail.yahoo.com> <400BEE9A.6030801@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040119173356.F24F740854>