From owner-freebsd-questions@FreeBSD.ORG Sun Oct 7 14:13:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C7D516A418 for ; Sun, 7 Oct 2007 14:13:37 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-54.bluehost.com (outbound-mail-54.bluehost.com [69.89.20.34]) by mx1.freebsd.org (Postfix) with SMTP id 5DFAF13C45B for ; Sun, 7 Oct 2007 14:13:37 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 26765 invoked by uid 0); 7 Oct 2007 14:13:36 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy3.bluehost.com with SMTP; 7 Oct 2007 14:13:36 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1IeWsy-0007LH-DN; Sun, 07 Oct 2007 08:13:36 -0600 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l96GXDs3061401; Sat, 6 Oct 2007 10:33:14 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l96GXDul061400; Sat, 6 Oct 2007 10:33:13 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Sat, 6 Oct 2007 10:33:12 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20071006163312.GB61195@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org, James Jeffery References: <972994690710061253q483e26ber68f4716d3202d1fa@mail.gmail.com> <20071006201356.GB55336@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071006201356.GB55336@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box183.bluehost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [737 12] / [47 12] X-AntiAbuse: Sender Address Domain - apotheon.com Cc: James Jeffery Subject: Re: C++ Compiler On FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 14:13:37 -0000 On Sat, Oct 06, 2007 at 10:13:56PM +0200, Roland Smith wrote: > On Sat, Oct 06, 2007 at 08:53:00PM +0100, James Jeffery wrote: > > Evening to you all (or morning in some parts of the world). > > > > Im learning C++ from Sams Teach Yourself C++, now many will call this > > a dumb method, and the books pointless and stupid, but i have no knowledge > > of any lower level languages, so i do need to be spoon fed the basics. > > I'd say that C++ isn't the easiest way to learn programming. I'd suggest > starting with Perl, Ruby or Python. If you're amenable to languages other than C++, I'd specifically recommend Ruby, via the book "Learn to Program" by Chris Pine. Ruby and Perl are both excellent first languages, and both "Learn to Program" and "Learning Perl" by Randal Schwartz et al. are excellent books. Ruby's much better for learning object oriented programming techniques, though, and anyone learning to program anything like mainstream languages these days should learn some OOP (generally speaking). In the Unix world (such as with FreeBSD), I'd recommend C before C++, too -- though probably long after Ruby or Perl. If you specifically want to learn C++, though, and skip the middle man: more power to ya, and good luck. > > > Im using Borland C++ compiler on XP and was wondering what compilers > > there are for FreeBSD that would allow me to compile and execute some > > of the examples i will practise from the book. > > FreeBSD comes with the GNU C++ and C compilers installed. There are > others available (Intel) or in progress (OpenWatcom). Also in progress is the TenDRA compiler, though FreeBSD support is part of what's "in progress". http://www.tendra.org/about/ -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Dr. Ron Paul: "Liberty has meaning only if we still believe in it when terrible things happen and a false government security blanket beckons."