From owner-freebsd-questions@FreeBSD.ORG Thu Oct 25 21:19:15 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 AEF9B16A417 for ; Thu, 25 Oct 2007 21:19:15 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 12BBB13C4A6 for ; Thu, 25 Oct 2007 21:19:14 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l9PLJ8mZ078021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Oct 2007 23:19:13 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l9PLJ7kw074373 for ; Thu, 25 Oct 2007 23:19:08 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by titan.flintsbach.schmalzbauer.de (8.14.1/8.14.1/Submit) id l9PLJKIt034868 for freebsd-questions@freebsd.org; Thu, 25 Oct 2007 23:19:20 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) X-Authentication-Warning: titan.flintsbach.schmalzbauer.de: harry set sender to h.schmalzbauer@omnisec.de using -f From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-questions@freebsd.org Date: Thu, 25 Oct 2007 23:19:07 +0200 User-Agent: KMail/1.9.7 References: <200710251606.l9PG6EMr067549@lurza.secnetix.de> <4720DEE2.9000006@gmail.com> In-Reply-To: <4720DEE2.9000006@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1590231.P6r96COdIq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710252319.20228.h.schmalzbauer@omnisec.de> Subject: Re: Mentor for C self study wanted 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: Thu, 25 Oct 2007 21:19:15 -0000 --nextPart1590231.P6r96COdIq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Donnerstag, 25. Oktober 2007 20:22:26 schrieb Aryeh M. Friedman: > > Absolutely. (I just didn't mention it before because > > obviously Harald already has a beginner's book on the > > C programming language.) > > Herald does in fact have one that sucks (it does a terrible job on type > sizes for example [doesn't mention that they may very on different Well, probably it's not that bad. =46irst, thanks to all for your help. K&R has been laying arround here for at least 2 years. I hated it. It instructs me to use functions like printf without explaining it, and the= =20 examples are not really motivating. So every time I tried to write somethin= g=20 on my own I was stoped by the simple printf, for example. I'm sure it's a very good book as a reference, but it couldn't motivate me = as=20 a real C beginner (not a bloody programming beginner though). So I bought two new books, the first, which I've started with,=20 is "Markt+Technik, jetzt lerne ich C" (ISBN-13 978-3-8272-4210-5). Indeed, it hasn't made clear that short and int are different, they just=20 explained short and long (and double long) and I thought short is a synonym= =20 for int. But it explains in some short sentences the most important=20 behaviour/requirements for the functions we use. It still leaves me alone=20 when it comes to compilers, but after only three evenings so far I think th= at=20 I made real progress. Writing a simple practice just works :) And I already know that float x; x=3D10/3 is 3 not 3.3333. I can't remember= =20 reading that in the K&R in the first quarter of the book. I'm still quiet happy with it. The next book is O'Reillys C in a nutshell (ISBN 3-89721-344-3). I'll open = it=20 if I have structs and pointers practiced... And of course I'll "replay" the K&R if I have some more basics. Thanks, =2DHarry > machines])... since he is paying me a small amount to help him in detail > I am going to recommend K&R to him (with the caution is is meant for > experienced programmers) =2D-=20 OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer =46lintsbacher Str. 3 80686 M=FCnchen +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 --nextPart1590231.P6r96COdIq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHIQhYLDqVQ9VXb8gRAthWAKCq1b3nCFPKp6vlXB/anfnH1eVsvACgjbAQ fwU0oe+lkY0pkZ0lmvXCTk4= =cYZ/ -----END PGP SIGNATURE----- --nextPart1590231.P6r96COdIq--