From owner-freebsd-current Sat Nov 30 15:51:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B8D37B401 for ; Sat, 30 Nov 2002 15:51:11 -0800 (PST) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE0BC43ECD for ; Sat, 30 Nov 2002 15:51:10 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id gAUNpTLg005982; Sat, 30 Nov 2002 18:51:29 -0500 (EST) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id gAUNpSHD005981; Sat, 30 Nov 2002 18:51:28 -0500 (EST) Date: Sat, 30 Nov 2002 18:51:28 -0500 From: Craig Rodrigues To: Cy Schubert - CITS Open Systems Group Cc: freebsd-current@freebsd.org Subject: Re: C++ Issue On -CURRENT Message-ID: <20021130185128.A5959@attbi.com> References: <200211302348.gAUNm09V012697@cwsys.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200211302348.gAUNm09V012697@cwsys.cwsent.com>; from Cy.Schubert@uumail.gov.bc.ca on Sat, Nov 30, 2002 at 03:48:00PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 30, 2002 at 03:48:00PM -0800, Cy Schubert - CITS Open Systems Group wrote: > I've been working on getting the tripwire port to build on -CURRENT. > Through this process I've stumbled across an issue. Searching through > the mailing lists, I haven't found a solution to this. > > The following program builds and runs under 4.7-STABLE: > > #include > > int main() > { > cout<<"Hello World\n"; > } Should be: std::cout<<"Hello World\n"; Pick up a good C++ book like Stroustrup's C++ Programming Language ( http://www.research.att.com/~bs/3rd.html ), and learn about the std namespace. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message