lainchan / Ω

C learning resources

Molly Millions · 2019-03-02 15:23
does anyone know any good ebooks or websites to learn about C? pic unrelated(USER WAS WARNED FOR THIS POST, Rule 4 Please elaborate in your future posts as to what you are interested in about learning C and what you resources you have already tried to learn C using.)
Cutter · 2019-03-02 15:40
If you're looking for a general CS education along with it the CS50 course isn't bad (cs50.edx.org). If you just wanna know about C, here's a link to "The Art and Science of C" which is pretty good (http://read.pudn.com/downloads166/ebook/757458/The%20Art%20and%20Science%20of%20C/The%20art%20and%20science%20of%20C.pdf)
Elliot Alderson · 2019-03-02 17:14
>>15961 >does anyone know any good ebooks or websites to learn about C? 'K&R' (The C Programming Language) is the definitive text, often it's bundled with 'The Practice of Programming'. Both can be gotten easily at http://gen.lib.rus.ec/
Molly Millions · 2019-03-02 17:26
>>15963 I suppose I should temper my suggestion by saying that these are dated sources, but they're still quite good for learning the core of the language and how to program abstractly. Also you should read critiques of C and the New Jersey Style like 'The Rise of Worse is Better' (a five minute read, I'd encourage you to do so now) [1] and 'The UNIX Haters Handbook' (a small book) generally, but especially if you decide to go down this route so you can know where you stand. [1] http://dreamsongs.com/RiseOfWorseIsBetter.html
Appleman1234 · 2019-03-02 22:58
>>15961 Firstly your question is ambiguous because you don't state what you are trying to learn about C. If you are trying to learn to program in C , the see the answer below. If you are trying to learn something else about C or how to use C in a particular domain or style then those are different subjects entirely. For books that I recommend to learn modern and secure C which are not just the standard classic recommend by >>15963 , see the attachments. First attachment is Modern C by Jens Gustedt. Second attachment is 21st Century C by Ben Klemens. Third attachment is Secure Coding in C and C++ by Robert C Seacord. I have read all the these books and I recommend them. That isn't to say they are perfect but they are pretty good.
Appleman1234 · 2019-03-03 00:02
>>15964 Based on >>15964 recommendations regarding resources you should read , please find a few of those also attached. First attachment Expert C Programming Deep C Secrets by Peter Linden Second attachment C Traps and Pitfalls by Andrew Koenig. Third Attachment Secure Programming HOWTO by David A Wheeler. Other things that are important to learn when programming in C include Optimization, see http://icps.u-strasbg.fr/~bastoul/local_copies/lee.html Debugging, see Debugging with gdb https://www.eecs.umich.edu/courses/eecs373/readings/Debugger.pdf and https://lldb.llvm.org/tutorial.html Cleaning up, Refactoring and reducing line count of existing C software https://landley.net/toybox/cleanup.html https://www.youtube.com/watch?v=iI7vlTXJbiI For additional resources see the following book list on Stackoverflow https://stackoverflow.com/questions/562303/the-definitive-c-book-guide-and-list and the following awesome-c repository on Github https://github.com/aleksandar-todorovic/awesome-c or its original https://notabug.org/koz.ross/awesome-c
Appleman1234 · 2019-03-03 00:10
This thread really belongs in >>>/λ/, but the quality of the opening post prevents it from being moved. This thread is locked, please see >>>/λ/9198 or https://lainchan.org/λ/res/9198.html for the existing books thread on /λ/.