From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 12:15:49 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 131A616A4CE for ; Fri, 16 Apr 2004 12:15:49 -0700 (PDT) Received: from gemini.lunarpages.com (gemini.lunarpages.com [64.235.234.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7E8843D31 for ; Fri, 16 Apr 2004 12:15:46 -0700 (PDT) (envelope-from miles@lubin.us) Received: from ool-43566766.dyn.optonline.net ([67.86.103.102] helo=localhost.localdomain) by gemini.lunarpages.com with asmtp (Exim 4.23) id 1BEYoU-0005a2-LS for freebsd-questions@freebsd.org; Fri, 16 Apr 2004 12:15:46 -0700 Date: Fri, 16 Apr 2004 15:13:02 -0400 From: Miles Lubin To: freebsd-questions@freebsd.org Message-Id: <20040416151302.218d58fb.miles@lubin.us> In-Reply-To: <200404161720.37041.dgw@liwest.at> References: <200404151110.i3FBAaoo048373@adsl-68-76-19-75.dsl.klmzmi.ameritech.net> <200404161720.37041.dgw@liwest.at> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gemini.lunarpages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - lubin.us 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 19:15:49 -0000 On Fri, 16 Apr 2004 17:20:36 +0000 Daniela wrote: > 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 I believe origionally that C++ compilers converted C++ to C. I'm not sure about starting with assembly, it could be overwhelming. I started with Basic, and I learned all the other languages fine. Miles