From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 09:34:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16FCA16A4CE for ; Mon, 19 Jan 2004 09:34:37 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E975143D39 for ; Mon, 19 Jan 2004 09:34:35 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (Postfix) with ESMTP id F24F740854; Mon, 19 Jan 2004 18:33:56 +0100 (CET) From: Cordula's Web To: wmoran@potentialtech.com In-reply-to: <400BEE9A.6030801@potentialtech.com> (message from Bill Moran on Mon, 19 Jan 2004 09:50:02 -0500) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <20040119035817.29863.qmail@web60901.mail.yahoo.com> <400BEE9A.6030801@potentialtech.com> Message-Id: <20040119173356.F24F740854@fw.farid-hajji.net> Date: Mon, 19 Jan 2004 18:33:56 +0100 (CET) cc: hkrof@yahoo.com cc: questions@freebsd.org Subject: Re: New freebsd user here X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 17:34:37 -0000 > 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/