OK, so it seems like it's time to really learn some C considering how much used the language is in the open source world. When first learning C I want to do it "the right way", if it's possible to say such a thing.
ANSI this, and ANSI that... should it be C89, or would it be OK to go for C99, or would that break portability in some way? I will mainly spend my time coding on BSD, but maybe also on other operating systems. I also have some plans on reading some of the UNIX programming books I see smiling at me over at amazon.com, but I don't think they teach you C, and that's why I need a C book as well.
It seems like most C programming books today use C99, but I could be wrong. I know the book "C Programming Language" by K&R (uses C89?) is very popular, but it's old, and its layout isn't what I would call nice looking. I've also heard some complaints about the language used, and the authors showing of their vocabulary which isn't something that will suit my English skills since that's not my native language.
Any suggestions or recommendations would be highly appreciated!
ANSI this, and ANSI that... should it be C89, or would it be OK to go for C99, or would that break portability in some way? I will mainly spend my time coding on BSD, but maybe also on other operating systems. I also have some plans on reading some of the UNIX programming books I see smiling at me over at amazon.com, but I don't think they teach you C, and that's why I need a C book as well.
It seems like most C programming books today use C99, but I could be wrong. I know the book "C Programming Language" by K&R (uses C89?) is very popular, but it's old, and its layout isn't what I would call nice looking. I've also heard some complaints about the language used, and the authors showing of their vocabulary which isn't something that will suit my English skills since that's not my native language.
Any suggestions or recommendations would be highly appreciated!