Dr. Chuck reads C Programming (the classic book by Kernigan and Ritchie)
In this complete C programming course, Dr. Charles Severance (aka Dr. Chuck) will help you understand computer architecture and low-level programming through studying the "classic" version of the C Programming language from the 1978 book written by Brian Kernighan and Dennis Ritchie.
In this course we will be reflecting on how C provided an important foundation for the creation of modern programming languages. This is not a good place to start if you do not already have some programming experience. A suggested pre-requisite is Dr. Chuck's Python for Everybody course: • Python for Everybody -...
📖 Online C Programming book by Brian Kernighan and Dennis Ritchie: www.cc4e.com/book/chap00.md
🔗 Additional course resources: www.cc4e.com/
(Unlock Code Hint: View the developer console on the website.)
✏️ Dr. Charles Severance developed this course. He is a professor at the University of Michigan and one of the most popular software instructors in the world.
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Course Intro
⌨️ (0:03:09) Chapter 0: Introduction
⌨️ (0:20:44) Chapter 1: A Tutorial Introduction
⌨️ (1:59:17) Chapter 2: Types, Operators, and Expressions
⌨️ (3:02:09) Chapter 3: Control Flow
⌨️ (3:49:31) Chapter 4: Functions and Program Structure
⌨️ (5:20:32) Chapter 5: Pointers and Arrays
⌨️ (6:50:30) Chapter 6: Structures
⌨️ (8:16:33) Chapter 7: Input and Output
⌨️ (9:02:02) Chapter 8: The UNIX System Interface
Пікірлер: 391
Blows my mind how lucky we are to have resources like this. What a time to be alive!
@jonathandavis8014
Жыл бұрын
two minute papers moment
@justcurious1940
Жыл бұрын
should I stop my Udemy course and take this one ?
@jonathandavis8014
Жыл бұрын
@@justcurious1940 udemy is nice and u will get a crrtificate, however i think thag this book is probably the best source i use, in the fact that it gives u the rules that allow u to expand without uncertainty.
Dr. Chuck is one of the most important instructors from Michigan University! His contributions to learning programming languages like Python and Javascript are noticeable. He is the bridge between the very earlier stage of programming history and concurrent directions of programming. This course is promising for great content and the outcome will be great.
@Adam-87941
11 ай бұрын
I'm confused. Why is it useful that he did a text-to-speech video of the book? I don't understand how does it make any sense. Can somebody explain it to me please?
@gnuPirate
11 ай бұрын
@@Adam-87941 I LOVE audiobooks, and I for one was looking for an audiobook style tutorial specifically on K+R's C Programming Language -- and this guy has nailed it and then some. I think it's a fantastic tutorial, presentation and idea. I just wish the audio quality were a little better / and it was mastered a little higher. Even with my speakers driven up, it is still softish output audio. I would agree to what you say about the parts where he reads the code segments aloud -- as when it comes to the code, I would rather just read it.... but then, he has done that for completeness-sake. Also, in this age of AI, we may end up having BLIND programmers, and an audio book like this which is so completely verbalised, it would be a great resource for blind people!
@ykcirodd
10 ай бұрын
@@Adam-87941 Think you need to watch the video again, and this time listen attentively; Dr. Chuck often interjects with very important notes, so it's not just a "text-to-speech" video. Very important information is disseminated, in addition to the already authoritative text on C.
@Adam-87941
10 ай бұрын
@@ykcirodd Well, if you think that way... I have to tell you that this is a very bad way to "teach" and if you check the comments, many people don't understand why is it useful to read up a book with full of codes. Maybe he said some notes, but reading up codes is absolutely nonsense. Even for a minute. Explaining the codes in the book could make sense, but just reading it up character by character... seems like there's something wrong with the narrator :D
@ykcirodd
10 ай бұрын
@@Adam-87941 Except, again, he doesn't read it word-for-word.. since he often interjects. Interjections are antithetical to "reading word-for-word." This is just a different kind of content. I don't doubt that some people won't derive value from this video, and I encourage those people seek out a different kind of content than this exact video, if they feel like it's not providing them anything. But I found it extremely valuable, as somebody that has done close readings of the text (arugably, *the* book on C) during my BsC, the notes add greater depth to how applicable the text still is to this day; Dr. Chuck adds dimension to the text, so that it feels less like just some academic text that's on your prescribed reading list for some class. For some people, this value won't be obtained, and that's fine. Nobody has to learn everything. But most people that have encountered this text before will find value in this video, in my opinion.
I started programming in C in 1985 using a free compiler running on a PDP-11/73 for work. The operating system was RSX11M. After finding some bugs we bought the first commercial C compiler by Whitesmith's for that platform. So next year will be 40 years of programming in C. I'm still writing code in C. My most current project is writing an assembler for ϕAsm for the ϕEng32/48 processors. I have both K&R and the ANSI versions of the book. It was three years later I began developing a much better programming language that I call ϕPPL. It is compatible at the machine level with C but adds many new capabilities. Source code is enhanced Unicode instead of ASCII. Source code looks more like word processor documents than the plain text that is ubiquitous in the world of ASCII.
@sukursukur3617
3 ай бұрын
I am very far to say something about c language. But i want to say that i like a master level person to take action to renew a system from the ground up. Only people who have reached a master level in any subject can feel that delight.
@AbdelrahmanTheGreat
2 ай бұрын
i want to try the ppl programing language you are talking about, senior
@gaborm4767
Ай бұрын
What did you find insufficient in C that led you to create your own language?
I learned C programming in 1986 in college. I used this book, and still have my copy of it today (buried somewhere). C is the foundation to a lot of modern languages like C++, C.Net, and Java.
@PROTAGONIST_48
Жыл бұрын
@BoldAlphaz EVEN RUST
@vitlevanskiy
Жыл бұрын
@BoldAlphaz Even Go
@lucastecher2382
Жыл бұрын
@BoldAlphaz even brainf**k...oh no sorry wrong language
@Adam-87941
11 ай бұрын
I have no idea why is it useful to anybody that he made a text-to-speech video about reading up a book like this.
@shayorshayorshayor
10 ай бұрын
is this good to learn C in 2023?
I am so glad videos like this exist. The tough part is actually getting through them and absorbing the material.
@rljpdx
Жыл бұрын
and the best way to do that is copy all the code and run it as you go through the book. each chapter builds on the previous with TONS of repetition. the repetition drills the syntax and functions into you and by the end of the book you have it all memorized. you will not learn c by simply reading the book. you need to type in all that code, compile, run etc etc. this book will not make you a master c programmer, whatever that is, but it will make you a proficient c programmer. it readies you for the next book, intermediate c programming which i HIGHLY recommend as the natural progression in mastering c.
THANK you! I’m leaning C now after using Python for years. We learn best in “immersion”. I’ll need to be at my computer for maximum benefit, but this kind of “reading” is letting me learn while busy with life chores. Thanks again.
Was just watching this course a few days back. Dr Chuck is a legend.
It was almost 10 hours of video, but it took me almost a week of work to fully digest whole thing (I tried Hash map, linked list, etc by myself). Now it is time to update my knowledge gained from this 1978 by some new resources and I am ready to take university course about C. This book gave me a headstart. Thank you Dr. Chuck your were my guide to general programming (Python for everybody), now you were my guide to this important, but hard area of low-level languages. You are my n. 1!
@shayorshayorshayor
10 ай бұрын
i need to learn C for my university course, this video is good? or is this good for someone in 1978 and not 2023?
@chopagames5184
10 ай бұрын
@@shayorshayorshayor it's good, since many things stays the same and the things that don't are commented by Dr. Chuck that are done differently nowadays..... I knew Python and JavaScript before this and the video gave me a headstart before my university course - I was able to done 3 out of 10 homework before lectures started
@shayorshayorshayor
10 ай бұрын
@@chopagames5184 do you recommend investing time into this or rather a newer course on KZread/Udemy?
@shazweeb4515
7 ай бұрын
Hi, did you just watch this video from start to finish? What did you do to practice whilst going through the video?
@chopagames5184
7 ай бұрын
@@shazweeb4515 I cannot do things like watch a part of it and practice, than watch more, since I easily get out of the planned way. So I took a notebook, wrote some notes and saw all features of C. After I digested whole course I started my own things (like making a linked list).... I skipped parts where he recite code, this is easier to read on his page... On the other hand, the explanation are better for me to listen to and make notes
I just started the course. I already see the promise of a great content, thank you for this.
Well, after "Python for everybody" everything where Dr. Chuck is mentioned will have "5 stars" in my mind even before looking into it. This man is a God-blessed educator from my view.
Having further explored Dr Chucks KZread channel and his various "For Everybody" websites, I'd just like to say how lucky we are to have freely available access to these resources from such a great source. Thanks, Doc!
I did the Python for Everybody course and imo, it's one of the best courses out there. Dr. Chuck explains so well and goes into details each step, which is how I like, I hate courses that only introduce concepts at the surface level. Looking forward to this C course.
in my experience, Any course had never been able to come closer compare to the deepness of a book. I Love The Way this this whole thing is presented cause I do listen to a lot of audio books. (I am kind of lazy when it comes to reading) on KZread when it's comes to programming related audio books, there is no audio books available for free. Just thank you for this kind of depth course. I'm just grateful.
This is a really valuable resource. I'll bet verbally reading the code snippets was a bit tedious for Dr. Chuck as was reading this entire work all in one sitting. He did an excellent job conveying the material. I have been programming in C for the last 10 years and it helps to have an audiobook of sorts of the K&R C book to reference, even though I have the hard copy of the book in my library.
I worked with Dr Chuck on Sakai and other higher education products. Brilliant man. Also used some of his grid computing work back when I was doing that in grad school. I am sure this course is fantastic.
@ChuckSeverance
Жыл бұрын
Nate - Great to hear from you again. Hope all is well.
@missinglink_eth
Жыл бұрын
@@ChuckSeverance things are great. Congrats on the new course.
Mr.Severance i have been lost on learning C language and the fact that i just started your py4e when i gave then saw you made one about C language make you an angel in this industry
Dr. Chuck is great I love his content and his whole work ethic around sharing knwoledge. Awesome Dr, Chuck ❤
Legendary book, incredible instructor
@PavanPavan-md7kg
Жыл бұрын
Can you tell that unlock code ❓
@freecodecamp
Жыл бұрын
42
Dr. Chuck taught me python...... his patience and teaching method am yet to see in other instructors..✌🏼❤
C was the first language I learnt and fell in love with it. But I need a refresher no doubt.
Absolutely classic. Thanks for putting this out there. I started with C++ and Stroustrup, but it's easy to go back to C from there. Done plenty of work in both. And there are still copious jobs out there for both.
Dr. Chuck is so awesome, I'm a huge fan of him and his work. Such a gifted and generous educator, and we're so lucky to have him! Looking forward to watching this course.
i have the 1988 release of the Kernighan and Ritchie C programming language. at one point i owned the original 78 release but this second edition brings standards into the equation via ansi-c and i personally would recommend learning from this edition. it's the book i learned the basics of c in the mid to late 80's, with the very important nuances included by the creator/s of the language. it's an excellent book to learn the basics of c. this book prepares you to use c reference guides proficiently once you understand the syntax and control structures of the language. i can't stress how important it can be to learn c from this single book. it is a bit terse, assumes much however if you know the basics of the unix os, know how to us it's various editors (i still do all my c coding in vi) and the compiler subsystem, literally half the battle is won.
Thanks Dr. Chuck for your contribution!
What a timing...EXACTLY what I was looking for. Thank you!!
@dogcomedyy
Жыл бұрын
hello sir is it possible to learn programming in 2 weeks for placements
Can't wait to watch this on some rainy autumn Saturday! K&R C is the Old Testament of programming books!
I came here because the thumbnail gave me an impression that a mafia boss was going to teach me programming
Perfect timing for me. God bless you. Thank you guys.
Dr Chuck is the OG of code tutorials, really , inspired me to start my own channel!
Hah, crazy. I just recently watched the Interview with Dr. Chuck where he spoke about his plans to make more of the "for everybody" -courses, including that C one! 😃🤘🏻 Excited!
Incredible 'C' language passionately taught by Dr.Chuck
THANK YOU Dr. Chuck and freecodecamp!! I was looking for an audiobook specifically reading from or based on K+R's C Programming Language -- and this guy has nailed it and then some. Plenty of historical and modern context and elaborations on important portions we might not get anywhere else. I think it's a fantastic tutorial, presentation and idea. I just wish the audio was mastered a little higher. Even with my speakers driven up, it is still softish output audio. Otherwise, brilliant!
I just started learning c programming about 30hrs ago, and this video suddenly came, wow!
@gloirechabu4053
Жыл бұрын
Same here
@PROTAGONIST_48
Жыл бұрын
THAT IS DARN SPECIFIC. A LITTLE OVER A DAY AGO.
When I looked at C/C++ courses playlist, I was surprised there weren't many videos there. Well, I needed more tutorials and you guys uploaded this video at the exact time I was looking for more tutorials! Thank you for your awesome courses and thank you for making them free!
I was just recently looking for a book on C. Wonderful timing!
@dogcomedyy
Жыл бұрын
hello sir is it possible to learn programming in 2 weeks for placements
@lightspd714
Жыл бұрын
@@dogcomedyy In all practicality no, it’s not.
I learnt python first, but I fell in love with programming thanks to C.
Thank you so so much for this and all your work to help us learn programing
wow so this is for free, Gob bless you richly! Thanks sooo much to everyone that made this video available.
This is exactly what I wanted, but I didn't think it would exist. Thanks for the reading.
You can learn C at any point of your life. You won't regret the decision. It'll be a worthy investment of your time and brain cells.
@durgesh1227
Жыл бұрын
Well why so? I am curious about this. Can you tell me ?
@TheHaagendazs0
Жыл бұрын
Sooo true. I’m in the beginning stages- trust the system 😊
@masl3noki814
10 ай бұрын
@@durgesh1227mainly because it teaches you on a really low level (in terms of depth) of how programming works. One of the reasons why this knowledge could be useful - it helps you to find mistakes and errors in your code MUCH faster. And I'm talking about much complex errors, which compiler usually failes to precisely describe
@durgesh1227
10 ай бұрын
@@masl3noki814 sounds interesting
Dr.Chuck is a legend!
I seriously needed this video cause I'm struggling with C for my projects
I just realized I had this book when I was in high school, this is a prompt to go read it
When you really know (C, C++) languages like JavaScript and Python will be 1+2=3
@vymvn6
Жыл бұрын
Well in terms of JavaScript it’s 1+2=12
@kevyyar
Жыл бұрын
@@vymvn6 no. Only if both are strings or either one is a string.
@herrforehead3745
Жыл бұрын
@@vymvn6 ok fine, Number(1) + Number(2)
@smileychess
Жыл бұрын
@@herrforehead3745 Nah, 1+2=3 works because it treats them as integers. To make them strings you could do “1”+”2”
@iamnotnirma
Жыл бұрын
@@vymvn6 [object Object] classic
I learned C using this book in my second year . It was not easy to understand it but I did get to love it later
@dmitripogosian5084
Жыл бұрын
That is what always puzzled me. What is it to understand "in C" ? The book is just a set of rules to consult. There is a question to understand what are you to code, sure, but the language itself ? There are no mysteries there.
Man, God bless these gentlemen
Thanks, Dr. Chuck. I'm learning from this course!
I bought the kindle version just yesterday. The book along with this lecture I am going to have an awesome time :D :D :D
Thank you, awaited for this video!
This guy teaches Django proficiently. Though most of his lectures are lengthy buy it's all worth it.
right on time when I finally understood I need to learn c.
Thanks so much for this guys! love all what you doing, I started with freecodecamp courses this year and almost finish the web development and wanted to know about C programming, but I also at the same time started the CS50X with the EDX and was so difficult for me "as a newbie in programming", after the second week with C i stopped and only continue with web development, but now I feel more ready hehe. And with this video I think can understand now C hopefully! Cheers!
I actually have the second edition of that book, the ANSI edition. Found it at a garage sale and bought it because of nostalgia. I had just started using it, and the internet, to refresh myself (been decades since I did anything in C) and youtube offered this up to me. So I'm going to use this video and the book in tandem.
🌴 back in the future 🌴 with love and affection for kernighan and ritchie ❤️ let's do this course just for their memories
Dr Chuck is really awesome!
This is very nice. Can’t wait to watch the whole thing.
@dogcomedyy
Жыл бұрын
hello sir is it possible to learn programming in 2 weeks for placements
@Alex-dg3nc
Жыл бұрын
@@dogcomedyy Nop
Amazing. Thank you very much.
You are amazing sir l learn lot's of things because of you.
Great content like always ❤️❤️
glad dr. chuck did one on c too
Finally a C course 🤘🏽🤘🏽
Great. Thanks, Dr. Chuck.
Many thanks Prof. Chuck
Just when I needed it👍🏾
got that book many years ago.. I did't know it's still used !
Hello World! I have the book! Bought it new in 1983 as my intro to programming.
It's a good book, I almost forgot about it along with my C memory.
I have that book, I just started trying last night
Good book I think I'll read it again, even though I haven't done programming for a long time and have forgotten everything)
Going through a book is a brilliant idea!
God bless the real teachers!
Este libro es lo mejor de lo mejor a pesar de no tener mucha cantidad de hojas cada oracion no tiene desperdicio.
What a treasure! Thank U very much
Speechless
Excellent! Thank you very much :)
Thank you
I was a c player 14 years ago, then c++ running on suse, not the .net one. Now I am mainly js/ts plus java on sprintboot.
I highly recommend doing it with the website
Thank you so much.
I love this guy
I was re reading this book today only 😂😂 what a coincidence
This is perfect to listen to fall quickly a sleep.
I admire the efforts in keeping the old stuffs and old languaga alive but its staggering to think how old C++ is and is still used even if its not the most popular programming language theses days compared to Java C# Javascript etc but still used ....
Hello there, I encountered a program with the word counter program, I copied the code exactly and then compiled it with clang on macOS, however, the program consistently gives me wrong results, why might that be?
THANK YOU
You guys should live forever
Thumbnail shows a Italian mafia boss not a programmer.
@errorcode778
4 ай бұрын
😂😂😂
Livin' Legend
Thank You 😀
Thanks for the reading! At point 1.5, for character/word/line counting, nothing outputs from the program, despite the `printf` at the end. It is supposed to read the input from the terminal right? Or am I missing something and the input should come from a file?
@kevincmiles-cn6un
Жыл бұрын
The getchar() function that is called in the while statement is returning an input value that comes from the keyboard, not from a file, one character at a time. This causes the while loop to be executed every time a character is entered at the keyboard. The printf() function does not get called until the while loop has been exited. However, the while loop will not be exited until getchar() returns an input value that is equal to EOF's value. That leads to the question, "How do I enter a character at the keyboard that is equal to EOF's value?" On my computer, I have to press 'Ctrl + D' once when at the beginning of a line, or twice when not at the beginning of a line.
Just when I needed the most shout out to Dr Charles and FreeCodeCamp. For this amazing course. Tank you.
This video is awesome.
C is the best having studied it at African Leadership University ALU I don't regret it
Please 1:54:00 please explain last part of copy function how it is working step by step.
I found the recitation of the code annoying at first, but I think it helps with paying attention in a way I don't usually do when first looking at a piece of code.
Dr. Chuck the goat!
Thanks
Ahhh man, I would have liked to have this course 3 years ago when I had to learn C. I was so damn bad😂
The best❤🔥
do you guys have a mic in my room? I was talking about watching a course like this in C thanks!