Ananth <[EMAIL PROTECTED]> wrote: On 9/2/07, ankur_sh2001 wrote:
> --- In [email protected], Thomas Hruska wrote:
> > gireesh k wrote:
> > > dear friends
> > > am want to study the basic of c . if any one can gudie me plzs
> >
> > Read the group welcome message that you received when you joined.
> Lots
> > of information there to help you get started. Seriously consider
> > learning C++ instead of C.
> >
> to learn d basics of C try LET US C by Yashwant Kanetkar....A
> fabulous book.... n den go Exploring C by d same author....
ahem.
Yashwant Kanetkar is (was?) indeed a very popular book in college. But
I've realized it is not neccesarily all that good a book as it seemed
when in college.
Man, all the crazy, jumbled, impossible to maintain and complicated
pointer arithmetic he uses to explain pointers when none of it is
necessary? If you write code like that in your professional career,
you'll be fired.
The C Programming Language By Brian W. Kernighan and Dennis M. Ritchie
should be a good place to start learning C. But I'm a C++ guy, I
wouldn't know whats best.
.
As Thomas said, do seriously consider learning C++ instead of C.
Cheers
- Ananth
A few points:
* I am really happy to see a message like this. I hope many college students
read this warning about Kanetkar.
* Complicated pointer arithmetic for the sake of explanation is fine. However,
some of it is plain wrong/implementation specific. For e.g. maybe Kanetkar has
to be introduced to the concept of sequence points.
* I think both C and C++ have their areas of usefulness. But DON'T use a C++
compiler to compile C. It will compile, but make you a far sloppier programmer.
Regards,
Mohan S N
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
[Non-text portions of this message have been removed]