From owner-freebsd-questions@FreeBSD.ORG Sat Oct 6 20:12:02 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 B816316A469 for ; Sat, 6 Oct 2007 20:12:02 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id 2380213C4A7 for ; Sat, 6 Oct 2007 20:12:01 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-313693.home.otenet.gr [85.72.80.251]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l96KBxw6005029; Sat, 6 Oct 2007 23:12:00 +0300 Message-ID: <4707EC0F.90206@otenet.gr> Date: Sat, 06 Oct 2007 23:11:59 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: James Jeffery References: <972994690710061253q483e26ber68f4716d3202d1fa@mail.gmail.com> In-Reply-To: <972994690710061253q483e26ber68f4716d3202d1fa@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Sat, 06 Oct 2007 20:12:02 -0000 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. > > 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. > > Also if anyone wants to recommend any other books on C++ feel free. We > are learning VB at college at the moment, i like it, but its not machine > portable > and i dont like the whole drag and drop way of creating a program, seems > like > cheating. > > Thanks for reading > > James > > Are you using the Jesse Liberty's book? (the 21 days thing ? :) ) This is actually quite good for a beginner in the language - just don't try to finish it in 21 days... On to your question, FreeBSD provides (and is actually compiled itself by) the gcc compiler which will happily compile C and C++ programs. You may as well wish to install a GUI frontend (like kdevelop), but this is probably an overkill for the simple examples in the book. P.S. Visual Basic (at least up to version 6) is the best and easiest way to write the worst, most unreadable code... ever. Even worse, it may actually work...sort of.