From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 13:11:08 2003 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 4476837B401 for ; Mon, 21 Apr 2003 13:11:08 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6508A43FB1 for ; Mon, 21 Apr 2003 13:11:07 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-010dcwashp0174.dialsprint.net ([63.188.96.174] helo=moo.holy.cow) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 197hcy-0001iQ-00; Mon, 21 Apr 2003 13:11:02 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id C4038B366; Mon, 21 Apr 2003 16:13:59 -0400 (EDT) Date: Mon, 21 Apr 2003 16:13:59 -0400 From: parv To: Paul Tsai Message-ID: <20030421201359.GA6355@moo.holy.cow> Mail-Followup-To: Paul Tsai , Jason Griffis , freebsd-questions@freebsd.org References: <200304210539.11227.jgriffis@ec.rr.com> <20030421103334.GA92718@falcon.midgard.homeip.net> <3EA3FDFB.2030005@lehigh.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EA3FDFB.2030005@lehigh.edu> cc: Jason Griffis cc: freebsd-questions@freebsd.org Subject: Re: g++ question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 20:11:08 -0000 in message <3EA3FDFB.2030005@lehigh.edu>, wrote Paul Tsai thusly... > > Jason if you type g++ --version at the shell you will find that > your g++ is above 3.2. GNU decided to become totally ansi > compliant with thier 3.2 version... GCC 3.2 is close but not quite; see comp.lang.c++.* where it fails. > One thing to mention, if it bothers you that much as a new > programmer (which it means this is probably going way over your > head) you can install an older version of gcc One should get used to it (specifying 'std' as the namespace, where appropriate of course) or one would face mighty trouble when the time comes to write classes. In the mean time, Jason(OP?) could put the the following after including ''... using namespace std; ...in lieu of prefixing 'cout' w/ 'std::'. (Are we off topic yet?) - Parv --