Answer the question
In order to leave comments, you need to log in
Which book to learn C from: Effective C or k&r?
I want to learn the C programming language.
I know how a computer works (how a processor, memory, stack works), the basics of operating systems (what is a process, thread, scheduler, system calls), I know a little assembly language (I don’t know how to write fully in it, but I know the basics), I know the basics networks.
Before that, I tried to write in C before. I know the basics of syntax, simple constructions like if..else, while, for, etc. I want to start learning this language in depth and continue to write in it.
Often the book k & r (the c programming language) is not recommended for beginners in programming, although I am no longer a beginner (I programmed in php, python, javascript, sql), but still this moment is a little annoying.
Found the book Effective C (Robert Seacord). I quickly ran through the titles of these books and read some passages. It seems to me that the book Effective C talks about the language in more depth than the book k&r. For example, in the k&r book, I did not see that it explained what dynamic memory is. Is it really? Is it worth reading the book Effective C? (In the Russian version, for the introduction I want to read in Russian).
In the future, I want to read the book Extreme Xi (Kamran Amini). What do you say about her?
Answer the question
In order to leave comments, you need to log in
KR is not a textbook and not a standard, it was written a long time ago. Although there is a fairly recent edition, the text has not changed.
Take Effective C, although I have not read this book, but it looks okay. In addition, it is written on the basis of fresh standards, unlike KR.
You don’t have a bad background, the language itself is quite simple, you will figure out the subtle places (arrays, strings, dynamic memory, pointers, address arithmetic) and you can start doing something.
There is a lot of information on the Internet about the functions of the standard library, for example, here There
are not many books in Russian specifically on C, perhaps this is due to the fact that the language is quite simple and one good book covers most of the needs.
By the way, "extreme C" looks just as promising, but it seems to be the next level.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question