Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 23:19:07 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Mentor for C self study wanted
Message-ID:  <200710252319.20228.h.schmalzbauer@omnisec.de>
In-Reply-To: <4720DEE2.9000006@gmail.com>
References:  <200710251606.l9PG6EMr067549@lurza.secnetix.de> <4720DEE2.9000006@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710252319.20228.h.schmalzbauer>