P
pandit
is this book good for learning C ?
i am a beginning programmer, Kernighan and Ritchie 2e is quite hard on
me.
i am a beginning programmer, Kernighan and Ritchie 2e is quite hard on
me.
is this book good for learning C ?
i am a beginning programmer, Kernighan and Ritchie 2e is quite hard on
me.
pandit said:is this book good for learning C ?
i am a beginning programmer, Kernighan and Ritchie 2e is quite hard on
me.
I don't know what others will think of it but I liked the oreilly
practical c book.
I would be interested to see what others think of it.
Richard said:Anthony Irwin said:
<cough> No.
Whats bad about ["Practical C Programming", by Steve Oualline]?
pandit said:is this book good for learning C ?
i am a beginning programmer, Kernighan and Ritchie 2e is quite hard on
me.
Oops, That's the book I want to introduce to u![]()
Ivar said:Thanks for top-posting. I find it much more convenient than the
officially sanctioned alternative.
Kelley and Pohl (2nd ed, p 5):
#include <stdio.h>
A preprocessor is built into the C compiler. When the command to
compile a program is given, the code is first preprocessed,
and then compiled.
Lines that begin with a # communicate with the preprocessor.
This #include line causes the preprocessor to include a copy of
the header file stdio.h at this point in the code.
This header file is provided by the C system.
The angle brackets around <stdio.h>
indicate that this file is to be found in the "usual place,"
which is system dependent.
We have included this file because it contains
information about the printf() function.
<snip>Thanks for top-posting. I find it much more convenient than the
officially sanctioned alternative.
Ivar said:Thanks for top-posting. I find it much more convenient than the
officially sanctioned alternative.
pete said:That's wrong.
Whether or not stdio.h exists as a file
in a C implementation is system dependent.
stdio.h is properly refered to as a "header"
rather than as a "header file"
when discussing C in general.
Thanks for top-posting. I find it much more convenient than the
officially sanctioned alternative.
Is that really the kind of information you want to emphasize to a
beginner?
Is that really the kind of information you want to emphasize to a
beginner? On page 5?
Mark said:Well, I dunno. There's two pieces of information above:.
1) It is called a "header".
2) It need not be a plain file.
The first is important because its the correct terminology.
The second is relevant because even popular compilers like MSVC can
store headers in unexpected places, such as binary precompilation
libraries.
And then C programmers, like lcw1964, get confused
and are unable to recognize portable code when they see it.
http://groups.google.com/group/comp.lang.c/msg/e510420c9a5cba88
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.