From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 02:15:56 2005 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 C401516A4CE for ; Tue, 18 Jan 2005 02:15:55 +0000 (GMT) Received: from outside.taborandtashell.net (sub18-33.member.dsl-only.net [63.105.18.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C359C43D5D for ; Tue, 18 Jan 2005 02:15:52 +0000 (GMT) (envelope-from tkelly-freebsd-questions@taborandtashell.net) Received: (qmail 68033 invoked from network); 17 Jan 2005 18:15:49 -0800 Received: from unknown (HELO ?192.168.0.9?) (tkelly@192.168.0.9) by 192.168.0.2 with AES256-SHA encrypted SMTP; 17 Jan 2005 18:15:49 -0800 Message-ID: <41EC715A.3050804@taborandtashell.net> Date: Mon, 17 Jan 2005 18:15:54 -0800 From: Tabor Kelly User-Agent: Mozilla Thunderbird 1.0 (X11/20041230) X-Accept-Language: en-us, en MIME-Version: 1.0 To: koen de wijs References: <41EABF33.1040801@gmx.net> In-Reply-To: <41EABF33.1040801@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: programming languages and visual programming under FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tkelly-freebsd-questions@taborandtashell.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 02:15:56 -0000 koen de wijs wrote: > Hallo, I'm just new wtih unix and FreeBSD and I have a question about > programming languages, I want to learn some of them but don't know where > to start. C, it was the first programming language that I learned, so I may be a little biased. However, it is not that hard to learn, and tied closely enough with the hardware that you will probably learn some things about hardware as you go. > I heard that C is the most powerfull language under unix and almost the > complete system is written under it. > You can do everything with it. Where is a good toturial? I don't remember what book I used to learn it. Right now I have the O'Reilly book _Practical C Programming_, but I don't know if it is as good as it could be. If you decide that you want to learn C++ instead, I like _Using C++_ but my wife says _C++ Primer Plus_. > Can you read and write directly with the printer port or does the > kernell block that?? I got a programm from someone that putted some > assmebler in his c programm to adress the printer port. > And where can I find an overview of all the *.h files that you can use > under FreeBSD As others have noted, don't do this. > The other languages that I know are: > Perl, I could only find that it is especially for tasks for your system > and that it's based on C > Shell scripts, for tasks for your systems and simple programms > Python. Good, I think you will find that knowing Perl and C is a very good combination. > What are the advantages of these languages above C... Faster development time... for example string manipulation of any sort in C is far more difficult than Perl. However, their are some things that you can do in C far more efficiently than in a higher level language. PS- Java is a nice language if you want to learn something purely object oriented. However, some people object to Sun's politics. -- Tabor Kelly tkelly-freebsd-questions@taborandtashell.net http://tabor.taborandtashell.net