ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Can anyone confirm that the online versions of K&R are legal?
They're definitely not. This can be confirmed by visiting the book's homepage (http://cm.bell-labs.com/cm/cs/cbook/), the homepages of its two authors, and its publisher's homepage, none of which list a free copy.
I used a previous edition from the LIBRARY and worked through it. Very good but quite a lot of problems, especially with the book(publisher's fault), that were fixed in 5th edition. I waited for the 5th edition because it is updated with ANSI/ISO standard, C99. The 5th isn't perfect either but I've never seen a better one.
Another vote for the Prata book. And yes, the typos are annoying. I would not recommend K&R as an introductory book. C has undergone multiple revisions since then. I believe that the int main () sample someone posted before is just one example: c99 would have int main (void) instead.
Come on guys....
The person wanna make program concern Linux not windows.
I understand that. ONE reason the 5th edition of c Primer Plus is my choice is because it contains information about applications using Linux OS. Of many, very many, c books I researched it is the ONLY one that is comprehensive(i.e., has c99 info et more) and includes Linux & therefore even some GCC info) information when appropriate(not a lot - GCC changes too fast).
Get the book from library and see for yourself. It has been translated into many languages (but I only know about the English version).