Le 31/10/11 11:37, Nick Keighley a écrit :
I am a newbie with no programming experience. How do i start learning
C understanding concepts and fundamentals.
Please guide
This book is excellent:-
http://en.wikipedia.org/wiki/The_C_Programming_Language
Unfortunately many on-line tutorials are very poor.
Maybe but that tutorial is really bad.
K&R? Are you serious{?] [...]
Mate, go soak yer head in the billybong...K&R sucks for learning
how to program in "C" for a rank novice,
you may have a point. I've knon people to struggle (lack of answers to
the excercises seems to throw them). C was my nth language so I'm
probably not a very good sample novice user.
OTH I learned my first language with little more help. I think it
depends on the novice. I like K&R's overview then details approach.
and I should know, because
I tried to use it several decades ago for that purpose, and made
no headway until I threw it away and got another book, which
wasn't great, but just about anything is better than K&R...
What I'm detecting here is a concept I call "books written
by 'technical experts' for 'technical experts' for the sole
purpose of perpetuating 'technical expertise'".
some people prefer a book that gets to the point and doesn't have
large margins, pretty icons and a tendency to induce curvature of the
spine in anyone carrying the thing about.
But I agree on the basic principle of "horses for courses"
If the OP goes through K&R ***and does all the excercises*** (that is
actually produces runnign programs that produce the right results).
Then I submit he'll be pretty well on his way to being a C programmer.
There are better rsources for the standard library. But these *can* be
found online.
I use the
sarcastic quote marks around 'technical expertise' because
the real goal is apparently to create as much confusion
as possible so when management comes around and asks why
nothing has happened the 'technical experts' can spout a
bunch of carefully scripted gooble-de-gook as an excuse...
your definition of "technical expert" is so far from mine... I don't
agree K&R is for bull-shitters but is for actual programmers who want
a no-waffle tutorial and basic reference in one compact source.
The real problem is that "example is not explanation"; the
book explains nothing but merely presents random snippets of
code and let's the reader puzzle it out for themself...
I consider the examples well chosen. Can you give examples of poor
ones. (I might not be able to respond 'til I have access to k&R).
<snip>- Hide quoted text -
- Show quoted text -