Date: Mon, 21 Apr 2003 16:13:59 -0400 From: parv <parv_fm@emailgroups.net> To: Paul Tsai <pat2@Lehigh.EDU> Cc: freebsd-questions@freebsd.org Subject: Re: g++ question Message-ID: <20030421201359.GA6355@moo.holy.cow> In-Reply-To: <3EA3FDFB.2030005@lehigh.edu> References: <200304210539.11227.jgriffis@ec.rr.com> <20030421103334.GA92718@falcon.midgard.homeip.net> <3EA3FDFB.2030005@lehigh.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 '<iostream>'... using namespace std; ...in lieu of prefixing 'cout' w/ 'std::'. (Are we off topic yet?) - Parv --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030421201359.GA6355>