From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 09:26:45 2004 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 E393716A4CE for ; Fri, 16 Apr 2004 09:26:45 -0700 (PDT) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D54943D46 for ; Fri, 16 Apr 2004 09:26:45 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from cm217-96.liwest.at ([81.10.217.96]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1BEWAi-0007tn-IR; Fri, 16 Apr 2004 18:26:32 +0200 From: Daniela To: "Lucas Holt" , "'jason'" , "'Me'" Date: Fri, 16 Apr 2004 17:20:36 +0000 User-Agent: KMail/1.5.3 References: <200404151110.i3FBAaoo048373@adsl-68-76-19-75.dsl.klmzmi.ameritech.net> In-Reply-To: <200404151110.i3FBAaoo048373@adsl-68-76-19-75.dsl.klmzmi.ameritech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404161720.37041.dgw@liwest.at> cc: freebsd-questions@freebsd.org Subject: Re: Beginning C++ in FreeBSD 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: Fri, 16 Apr 2004 16:26:46 -0000 On Thursday 15 April 2004 11:10, Lucas Holt wrote: > Many universities teach C++ exclusiveley now. Java and C++ share some > common ground on syntax and the fact that they both support Object oriented > programming. Aside from that, there are many differences. C++ is native > code and executes faster than java which uses a virtual machine. C++ code > is compiled into C code by the compiler and then assembly. Java is > converted into byte code for a virtual machine. What? C++ code is converted to C? Which compiler are you using, and why the hell would a compiler do this? I would definitely recommend to start with assembly. It gives you a good understanding of the hardware, and every programming language you learn afterwards will be a piece of cake. Then get a good reference (some have already been mentioned) and start coding a real program right away, skip that boring "hello world" stuff. I learned seven programming languages in five months with this method. Daniela