Learn C Programming and OOP with Dr. Chuck [feat. classic book by Kernighan and Ritchie]
Vložit
- čas přidán 25. 08. 2024
- In this complete C programming course, Dr. Charles Severance (aka Dr. Chuck) will help you understand computer architecture and low-level programming with the help of the classic C Programming language book written by Brian Kernighan and Dennis Ritchie. Toward the end Dr. Chuck interviews Guido van Rossum, the creator of Python.
🔗 Course resources: www.cc4e.com/
(Unlock Code Hint: View the developer console on the website.)
📖 Online C Programming book by Brian Kernighan and Dennis Ritchie: www.cc4e.com/b...
✏️ Dr. Charles Severance developed this course. He is a professor at the University of Michigan.
⭐️ Course Contents ⭐️
⌨️ (00:00:00) K&R 0: Historical Context
⌨️ (01:04:48) From Python to C
⌨️ (01:46:19) K&R 1: A Tutorial Introduction
⌨️ (03:39:39) K&R 2: Types, Operators, and Expressions
⌨️ (05:04:13) K&R 3: Control Flow
⌨️ (06:04:05) K&R 4: Functions and Program Structure
⌨️ (08:06:01) K&R 5: Pointers and Arrays
⌨️ (09:58:08) K&R 6: Structures
⌨️ (11:56:25) Object Oriented Programming
⌨️ (13:26:33) Encapsulation and Abstraction
⌨️ (14:37:26) Tree Maps and Hash Maps
⌨️ (15:48:06) Epilogue
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job: www.freecodeca...
Read hundreds of articles on programming: freecodecamp.o...
I love Dr Chuck. He was the one that got me into programming 10 years ago. I owe my career to this wonderful human.
His Python intro course got me into programming too, Dr. Chuck is a legend
Dr. Chuck rules
same for me! my very first coding lesson was Dr Chuck's py4e on coursera in 2015!
Everything you offer on this channel is fascinating. I love you.
I have a copy of that book signed, he was my professor at Columbia University in the late 1990s.
You’ll be a very rich man now?
can you scan and email it to me
What a privilege Sr.
Useful Timeline
History of C 7:30
chat with brain & ch 0 38:44
Python to C 1:04:48
CH 1 1:46:19
Will update as i complete the course.
Bro... Why did you stop?
@@brijeshsrivastava6682 I stopped since they added course contents to video description. I mean the problem i was trying to solve is solved. Thank you for checking on me though. really apppreciate it
@@manideepsai9612 Glad you are okay. It's been 6 days, still good?
How's it going?:)
@@segovia102 I been slacking a bit, some of the stuff is going above my head. I started reading a book called ' but how do it know' along with 4 hrs in CS50 as there is some c stuff around post 2.5 hr portion of CS50. My motivation is downhill but trying to push through. I work a low paying bank job trying to switch careers into tech so I can afford a living. Thank you for taking time to comment and check on me, this comment section has definitely boosted my morale.
I'll just say this. I learned C back in 1986 in college and used this book by K&R, and I still have it (buried somewhere in a box). As a foundation for programming C is a good language to learn. C leads to C++ (begin OOP style programming) which leads to C# and Java which leads to other languages like Python.
So if you want to understand how to program at a low level on a Windows or Linux/Unix platform you need to understand C. Unix was built off of C. K&R were part of the team at Bell Labs New Jersey that created Unix and C in the 1970's / 1980's.
Thanks a lot for this information 😊
I know exactly where my Kernighan and Ritchie book is. When I graduated in 1986, I had a good start on my C library which I refined and added to over the years. I did my best work in C. Looking forward to this.
Correct me if I am wrong, but Python is older than both Java and C#
Assuming that the 2nd Edition is just as relevant for getting the C basics under my belt?
@@randomrfkov Yeah, but it was no more than a scripting language. The way we use it now didn't start before 2010.
Unbelievable that you can get a course like this for free. Thanks!
Dr. Chuck got me started programming with his py4e freeCodeCamp course way back. I'm so thrilled to have him again for an accompaniment to learning the C programming language.
C/C++ I've practiced for a year and a half. There are no shortcuts. You practice. Even after years, there's more to learn, and it's beautiful.
This is what internet should be for. Thank you!
It clearly is! The internet is the digital place for everything.
Anything you could want or think of.
You choose what you consume, create or learn. ;)
well said
This is the truest statement ever @essentia9! Peace!
I stumbled across Dr Chuck a few weeks ago arbitrarily when I decided to study C. I began his course and right afterward found this in my feed. I enjoy this course, programming can be very emasculating at times and his relaxed approach helps ease the pressure, its easier to concentrate when you're relaxed. I can tell hes someone who knows what he's talking about and I can also tell he's ran into every pitfall we are about to trip over. I really am enjoying learning C and while only in chapter 2 of the book, I can already see where I'm going to be a better Python/Javascript developer when I'm finished. Thanx everyone who made this possible, this course is life changing.
Did you write this comment using CHAT GPT?
@@engineeringmadeasy No, I'm actually literate, capable of stringing together concepts to form narratives.
@@darkthrongrising5470that who para is insanely impressive
This video literally could not have come at a better time for me! I'll be starting a course that teaches C this fall semester and I have been looking for something to give me a head start to the material.
The best programming book EVER WRITTEN
finally a video teaching C that's not 40 years old
fr bro 😂😂
you are great people for what you are offering in this channel, just amazing
Thank you, Dr. Chuck and @freecodecamp for this excellent video. I deeply appreciate the insights, references and clarity you provided. Much gratitude from Morocco!
around 1:29:00, put a leading space before % to make scanf consume any leading whitespace, including newlines
Thank you ❤. Just to notice about string mplementation in python. What I get from the interview is that the buffer is very large at first and then get srinked
33:00. Yeah as a dude, I’ve got to say. My majority of effective computer teachers were women. I was a 90’s kid. I did the Python course. And even got the Cert. Chuck is solid and worthy of his legendary status.
Bro I’ve been wanting to learn c but didn’t know where to start and never did. Thank you for this! 🙏🏽
perfect teacher and this channel
Python is a warm and fuzzy wrapper around C.
This is awesome information from someone involved.
Dr. Severance.
Next level, C OOP.
Awesome Sir.
This is a refresher.
Thankyou So Much.
The Encapsulation and Abstraction part of this course is really interesting and amazing, thanks!
Right on time for me. Got a first head c book last week. Now this upload….Fantastic. Been wanting to learn C for a while now.
make sure you stick through it. It is very hard to learn even with experience in languages like python, javascript. I consider myself pretty intelligent and still struggled to learn C but it was worth it. Just gotta stick through it
I've seen him in the ad about teaching PostgreSQL 😃
Thanks!
Ok, so, 18 hours, learning 4 hours a week. I can learn C in five weeks and then apply for my first software engineer position!!
But first, let's update my LinkedIn bio...
Yeah but C is not demanded like Java
that's a very optimistic timeline but you go girl
HAHAHAHA. Good one!
I still have my K&R. First edition first printing. Must be 40 years old by now.
Thank you for acknowledging the issues of inclusion in CS at the beginning, and thank you for creating this space for learning for everyone ❤
This is gold! Thank you so much!
I wish to be like Dr Chuck
Rust is an incredible language. I'm glad he mentioned it early on in his presentation. 🦀
I love it, it is perfect
Pointers need their separate 8 hours course
Ain't no way !
Pointers really pack a mean punch
@@pourthatbubblie what do you mean no way..
@@darogajee3286 I think he meant the whole video should be on pointers. More like 25 hours, especially pointers to pointers, and moreover function pointers.
How about this 4 hour pointer course? czcams.com/video/zuegQmMdy8M/video.html
Best Course Ever. God bless you 🇺🇲❤️
so what is the difference between this course and the previous one by Dr. Chuck?
Is this a repost from yesterday?
Yep
We fixed a mistake. :)
@@freecodecamp thank you!
@@freecodecamp based
This is wonderful. Thank you so much!
OMG takes me back to happy times. My first book (after Dr Dobbs Journal of....)
It is a convention in Python to put your "main routien" in a function named main and then call it. It keeps stuff in the main routine from polluting the global frame with unnecessary symbols.
Also, the idiom of calling main() and others in "if __name__ == "__main__"" makes sure that we are caling this directly and not in a module or child process. Without this technique, a child process could spawn more processes and so on in addition to problems if this code is used as a module.
@@Programmar1 That too if it's going to be imported.
If there wasnt the high energy intro this would be a great sleep lecture also)
Thanks for the informative advice.
C was my first programming language that I learned back in college in late 90s ❤
oh great "C programming" vid is back 😊
46:45 welcome to c programing for everybody | chapter 0: Introduction
How do you approach the mentors to put their videos on your channel?
I would be grateful if you reply this❤
Many course creators reach out to us first, including Dr. Chuck. We also find good courses and reach out to the creators to see if they would be interested in sharing their courses with a wider audience. Also, we have a few people on staff at freeCodeCamp that make some of the courses we publish.
I like how Chuck Teaches, and Thanks Agian Chuck and how did you know that I wanted to learn C, those Guys who had Chuck as their original Lecture in collage were so Lucky
Done till
1:01:21
Please a PLC Programmable Logic Controller courses
I am going to have a great week-end
Thanks doc
looking forward to complete all.
Thanks
Why not the ANSI Version from 1988?
Why shouldnt students learn C as their first language?
A great video for those who wan to understand the fundamentals
Please can we have a tutorial about Rag, especially with local no code RAG like VERBA tool
The last finetuning video was informative
Thank you
is this a newer version of the learn C course from Free Code Camp with Dr. Chuck from a year or two ago?
There's a typo in strcpy() version 3 at 9:05:19
while (*s++ == *t++) should be while (*s++ = *t++)
Gray t-shirt is C, covered with Pink t-shirt which is Java
Thank you, i will go back to the basics.
He teached me python :)
I dont know who edited this video, but its a mess. Entire sections are repeated. Somebody skipped the QA before uploading.
WoW... 29.56 Your Golden Days 👍you were the coolest geek in your neighborhood
Thank you so much love from India 🇮🇳
47:02 CHAPTER 0: INTRODUCTION
Is it worth to learn C in 2024?
Nope! Learn Rust instead
I learned it after two years of learning C#, Java and Node JS. Learning C helps me to understand how programming works
As a beginner,This programming language is the best ever (because it's so comfortable -easy to catch-up the concept & working).
I know this 2024 . It's AI generation.
So if your learning something based on programming language like C , you should better along with learn
° problem solving
°critical thinking
°Logic
°write code efficiency
Means optimised code run faster .
This above points Can't replace with AI . So easily to say 'LIFE SAVER' skills.
I'm refreshing my knowledge of C right now, because I'm going to create a new type of a database with it. All fancy staff will be done with some interpreted language that has a good interface to C. All operations in memory will be tackled by C. I've never felt that I should not have studied C. I value its stability very much. This language is a nice tool to have. It may miss some useful features, but as I mentioned the problem can be solved by using two programming languages.
After 2 years im here to refresh my c knowledge because I'm building my own linux based OS😊
Thank you so much Dr. Chuck.
where is the correction of the reverse string exercise?
Dallas Mavericks in finals 🎉
1:40:00 blew my mind
Been programming python for a little over a year now and have wanted to learn c. I've tried a few other free courses but I like how this one starts with corelating python to c.
this is definitely not for absolute beginners.. this is for guys who are already familiar with one language
yes Dr. Chuck have told us before start this course
Cool T-shirt, still use Gopher btw )
Let's always do alot of good ❤️
learning C, I have some nice memories 😍 and some not 🤔🤪
1:45:00 Day 1
Awesome
Am just going to start rn
23/8/2024
Thanks allot for all the free courses.
Is it possible to have a course on flame engine to make games in flutter in the future?
Thank you for the wonderful work.
I hear everything is written in C
Ty for helping us all ❤❤❤❤
Sir can u make video about IoT using programming language
Embedded programming?
how to download text book
I read somewhere python code uses up more energy than code written in C.
Resume @5:55
The King is back 👑
I am using vs code and when I was doing the input thing I mean the scanf, I got an issue the vs code console tells it is running but it is only showing where my file is in the computer can anybody help me pls
Can I buy the second edition to follow along or do I need to have the first edition for sure?
Yes, you can use the 2nd edition. Also, you can access the full text of the 1st edition using the link in the description of this video.
@@freecodecamp Awesome. Purchasing the 2nd edition! Going to try and source a mint condition copy of the 1st as it seems like an important piece of history to keep.
Thanks for the video. Chuck is a great teacher. I'm building a distributed network of nodes and I would like to do it in C which is the reason for undertaking this course over the next few weeks! Super excited to have this. Much appreciated. Been a freecodecamp follower for about a decade now! Love the passion.
*"START"???!!! Is that 18 hours???!!! There isn't THAT MUCH to C. Is this "how to code in C at a linus torvalds level"???*
You will be able to program AGI by the end of the video
@@rul1175Are u being serious
Any advice (notes) on how to run a program, what compiler to use, how to install it to ensure it does what you want it to do? I don't see any such insructions in the suggested text.
i use dev c++, you can look for a video on how to install it on youtube
Ok, how to unlock the resources for this course...have no clue....thank you.
This what we needed
its seem i need to reborn again in to next life with a big brain to master this! LOL
just keep giving yourself a chance to get good at programming, noone is fluent in speaking languages to begin with. You must walk before you can run.
Come for C and listen that I have to start with Python. Ok brb!
I would suggest to use his website. There are Exercises, and the whole c programming book for free with his comments.
Actually i would love to hear about the website in the beginning of the Video.
Only watching this Video will not help anyone, sadly.
Re-upload?
Yes
@@JeevanTV-do2hcwhy?
@@hafizd45337 yes it was uploaded today they re-upload I don't know
Thank you
So if i have not learnt any code at all, can i still learn C here? I heard it may need to know some python
Hello, how are you doing?
Want to know, what i can for C language (objective of the language to bluid what)?
Thanks for the video is every nice..
C can be used to build almost anything, including operating systems such as Windows.
Programming languages can build everything, but the complexity is greater when you compare C to another more modern language, because you have to manage more things, like memory allocation. is not the end of the world, and this knowledge can make you understand more complex topics as you go on, because many languages copy the way C does many things. in the end of the day, the road is harder, but can make you learn much more.
@@joaofelipe2060 thank you
@@freecodecamp thanks
For the average programmer I do ask the same question myself. However this language inspire me quite much so I think it is a good idea to make programs on it, and I am not the only one.
Why was it submitted again, is the first video I already downloaded flawed?
but how useful is C these days, and won't we need another language in order to use it today by itself is it really WORTH learning it(with all due respect)
In my opinion, those who don't learn C at the beginning and learn any other high-level language, maybe save themselves less of a headache, but actually lose a lot, C is a very, very strong language. The headache I mentioned is one of the advantages that make C as such. I mainly mean the work with pointers, allocations and freeing memory afterwards. After you really understand and know how to work with pointers and how to use them in solving problems (for those who really understand), any other high-level language directly becomes a very, very easy language to learn. Anyone who really wants to know how to program and has the time to do so at a young age is better off going through this "baptism of fire" initially with C, after that he really (mostly) will become a professional programmer.