Тёмный

C Programming Language - Intro to Computer Science - Harvard's CS50 (2018) 

freeCodeCamp.org
Подписаться 10 млн
Просмотров 1,1 млн
50% 1

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 486   
@murderboys1
@murderboys1 5 лет назад
I feel so privileged right now it’s about 600 students in there paying 40+ thousand dollars to get this lecture and I’m getting it free soaking up all this Harvard knowledge and apply it
@bumbaclotboi4476
@bumbaclotboi4476 5 лет назад
I understand what you mean but you're not getting the full course, but you getting a good chunk of it.
@murderboys1
@murderboys1 5 лет назад
Bumbaclot Boi yeah I know what you mean but for somebody like me that’s new to cs this is a great start in c
@bumbaclotboi4476
@bumbaclotboi4476 5 лет назад
EliminatedByeLOL Yeah, getting this type of education for free is still substantial
@snesmocha
@snesmocha Год назад
@@murderboys1 learncpp is 100% free and goes way more in-depth than this… I don’t even get how they get away with having a 40k price tag on such a bad course. Not to insult the instructor… but a lot of this should be expected before you go into cs….
@OrangeSheep14
@OrangeSheep14 9 месяцев назад
​@@bumbaclotboi4476I believe the full course is on this channel. But without maybe the tests etc
@r0yce
@r0yce 3 года назад
I honestly think that C is one of those languages you should learn from a good teacher. I wish I could learn the whole thing from this amazing person.
@Rajmanov
@Rajmanov 2 года назад
not really, you can teach you everything.
@its_SR07
@its_SR07 2 года назад
@@Rajmanov who?
@R3KT69
@R3KT69 2 года назад
@@its_SR07 he meant self learning,
@jordixboy
@jordixboy 2 года назад
@@Rajmanov yep, self teaching is best form of teaching.
@banguard856
@banguard856 2 года назад
C and c++ are both horrible languages, no beginner should dare learn unless they absolutely have to.
@englishly9331
@englishly9331 5 лет назад
That is a hard working instructor. I like his enthusiasm for teaching.
@abbashussain7298
@abbashussain7298 5 лет назад
he's David Malan. excellent overall individual
@godofwinetits3826
@godofwinetits3826 4 года назад
The pay must be good
@nazifishrak8275
@nazifishrak8275 3 года назад
@@godofwinetits3826 Not enough given his actual potential
@srikrshnap6036
@srikrshnap6036 3 года назад
And keep in mind that... that's Harvard man... xD And of course David J Malan is an amazing instructor.
@iscoto4914
@iscoto4914 2 года назад
Thats why he is in harvard
@trustysteeringwheeltray7392
@trustysteeringwheeltray7392 5 лет назад
Holy crap, if only this guy could teach every CS class. No wonder he's at Harvard.
@murderboys1
@murderboys1 5 лет назад
WhiteSox Fan05 we there to they paying around 10,000 for front row seats we at home watching on RU-vid 😂😂😂 lucky we lucky us free steps in c language
@blackbird8010
@blackbird8010 5 лет назад
@@murderboys1 they graduate harvard. My dream college. But im too poor and 13 😕but hey be happy🙃
@MinotaurvsCyclops
@MinotaurvsCyclops 4 года назад
@@blackbird8010 Scholarship homie!!
@erik.rodriguez
@erik.rodriguez 4 года назад
Cruchty Low if you get into Harvard or other Ivy Leagues they will pay your entire tuition if you can’t afford it
@renereifen1463
@renereifen1463 3 года назад
@@erik.rodriguez*laughing in european* where university is free.
@stayinawesum
@stayinawesum 5 лет назад
Contents ⌨️ (00:00:00) Introduction ⌨️ (00:00:50) Week 0 Recap ⌨️ (00:08:01) PBJ ⌨️ (00:15:59) C ⌨️ (00:20:56) Variables ⌨️ (00:21:46) Incrementing ⌨️ (00:23:36) Conditionals ⌨️ (00:32:31) While Loops ⌨️ (00:35:52) For Loops ⌨️ (00:40:47) User Input ⌨️ (00:48:14) CS50 Sandbox ⌨️ (00:49:48) hello.c ⌨️ (00:51:18) Compilation ⌨️ (00:57:31) Command-Line Arguments ⌨️ (00:58:50) make ⌨️ (00:58:30) Debugging ⌨️ (01:11:44) get_string and printf ⌨️ (01:18:23) int.c ⌨️ (01:21:58) float.c ⌨️ (01:24:29) ints.c ⌨️ (01:28:39) floats.c ⌨️ (01:37:54) parity.c ⌨️ (01:39:13) conditions.c ⌨️ (01:40:17) answer.c ⌨️ (01:42:15) cough0.c ⌨️ (01:42:57) cough1.c ⌨️ (01:43:57) cough2.c ⌨️ (01:49:53) cough3.c ⌨️ (01:52:04) positive.c ⌨️ (01:58:05) Integer Overflow ⌨️ (02:03:04) overflow.c ⌨️ (02:09:50) Integer Underflow
@calibr0636
@calibr0636 5 лет назад
seriously
@dexternepo
@dexternepo 5 лет назад
I know all this basic C stuff, but I still watched it from beginning to end because of this awesome guy and his enthusiasm! :)
@murderboys1
@murderboys1 5 лет назад
dexternepo printf(“i know what you mean ”);
@caseriviera8331
@caseriviera8331 4 года назад
Day 2 of teaching myself C and I am so happy to have found this video and the CS50 sandbox, my god...it's perfect for what I need. Reading your and other peoples comments lets me know I've made the correct choice.
@baruchben-david4196
@baruchben-david4196 4 года назад
He's amazing.
@anishnepal3486
@anishnepal3486 4 года назад
mee too
@mobacs3555
@mobacs3555 3 года назад
samee !!!
@TheStickofWar
@TheStickofWar 5 лет назад
Terrific video, even as a developer I found this to be a joy to as an intro and would gladly show this to my own child. David Malan is very charismatic and good at explaining complex topics.
@servantofourlordjesuschris6456
@servantofourlordjesuschris6456 2 года назад
But isn’t it from Harvard?
@ashwinbelbase
@ashwinbelbase 2 года назад
@@servantofourlordjesuschris6456 Yes It is from Harvard's CS50 Class.
@dxshawn532
@dxshawn532 Год назад
He gay e fied programming. Progaying
@realjayseven
@realjayseven 4 года назад
I wish I saw this earlier, so I wouldn't have gone to my shitty CS C Classes and would have stayed at home watching this unbelievable teacher
@CHITUS
@CHITUS 2 года назад
C holds the place for the greatest programming language for me. I learned C++ as my first programming language in high school and loved and appreciated C even more after that.
@ttt69420
@ttt69420 2 года назад
Both of these professors are great. Even when the abstraction starts to get heavy like with pointers and structures, where the way it's taught starts to really matter, they do a great job at making it more intuitive.
@mr_dare
@mr_dare 5 лет назад
I wish i had such a teacher Someone loves what they teach
@diverseprogrammer18
@diverseprogrammer18 5 лет назад
I'm a veteran developer but even I know all the basics of C, this guy makes me want to dig into it again XD
@bingchenli9536
@bingchenli9536 4 года назад
Good teacher is a treasure. You need to know how to teach and have a deep insight of the knowledge. Otherwise you can't show a reasonable overview and point the right path to enter a new area, which is extremely important in an intro course. This man is a treasure.
@justinspanos4382
@justinspanos4382 3 года назад
I've been stumbling from tutorial to tutorial trying to learn the fundamentals of coding, this guy is definitely the best teacher yet.
@Irzani938
@Irzani938 4 года назад
This kind of teaching is really get u understand the very fundamental of programming bfore u start coding. Jumping straight to coding with just a definition of it wouldnt be enough like most youtube tutorials.
@petepetefok
@petepetefok 5 лет назад
Thanks for sharing! Feel like I am studying Computer Science in Harvard University.
@uu-vv3ux
@uu-vv3ux 4 года назад
I wish I was taking the course 5 years ago. Type of university and instructor makes a major contribution to the society. Better society = Better instructors
@adipurnomo5683
@adipurnomo5683 2 года назад
This man have deep understanding at CS and great storytelling
@tritmo
@tritmo 3 года назад
This professor honestly blew my mind. I hope to one day have a professor like that.
@Libanass
@Libanass 2 года назад
You're gonna have to pay a lot of money!
@dxshawn532
@dxshawn532 Год назад
Gayt dat frees
@ciceroaraujo5183
@ciceroaraujo5183 4 года назад
This is a gift to humanity
@ebubechukwumichael-cd4vv
@ebubechukwumichael-cd4vv Год назад
Wow! wow! wow! The best C language tutorial I have ever seen.
@randompotato3122
@randompotato3122 9 месяцев назад
one of the best things about CS50 is that it's never about the programming itself. David J. Malan explains many more concepts such as algorithms, inputs and outputs, problems, and solutions. It's more about computer science and presenting real-life scenarios rather than just writing some functions and syntax on the screen.
@Phenom0100
@Phenom0100 2 года назад
I got my bachelor's in Computer Science from Florida State University and their curriculum with programming is based on C++ with classes for intro, object-oriented, and data structures. After those classes, we start getting into using C with concurrent and parallel programming, computer organization, and computer architecture.
@Nick_nm
@Nick_nm Год назад
Was it worth going into? I am a freshman and I hear from people who graduated they are having trouble finding jobs and it's starting to discourage me.
@anasssoulimani9288
@anasssoulimani9288 5 лет назад
I'm from morocco and I will never forget how you helped me improve my skills thanks to you and to cs50.Thank you verry veeerrrry much ❤️❤️❤️❤️❤️
@vuufke4327
@vuufke4327 5 лет назад
فين أ خاي أناس
@rock3tcatU233
@rock3tcatU233 5 лет назад
8==D
@ishakhero3950
@ishakhero3950 2 года назад
I am a C++ Game Engine Programmer and I felt like a child, I learnt things from watching to this little introduction… omg… this teacher is God
@waterbuffalo867
@waterbuffalo867 2 года назад
No he's not. He's funny in my opinion. LOL
@engr.nnoromokechukwuchukwu7369
@engr.nnoromokechukwuchukwu7369 4 года назад
AM IN LOVE WITH THIS TEACHER,gOD BLESS HIS HEART FOR MAKING TEACHING SO INTERESTING AND MAKING THE STUDENT LEARN IN A FUNFIL WAY...
@albinsopaj
@albinsopaj 5 лет назад
He's a great teacher. God bless him!
@mariagu9967
@mariagu9967 2 года назад
If my cs fundamental course are taught this way, I would be happier to learn more instead of struggling on self-learning the whole time! While self learning, to some degree is necessary, but I would rather learn this way. Thanks!
@madlad1.
@madlad1. 9 месяцев назад
Animated and exciting, I’ve never seen a stem professor like this lol
@davidhughes9870
@davidhughes9870 2 года назад
Taking the time to say thank you, this video has opened me up to more of the coding world.
@MrGonzo2020
@MrGonzo2020 4 года назад
Watched the entire video, wow! Thank you for breaking it down from electricity up to the abstraction level!
@crsieg56
@crsieg56 5 лет назад
incredibly informative video. david mulan states everything in a very understandable way. learned more in the first hour than the other 4 hour long "courses" elsewhere on youtube.
@bereketassefa2439
@bereketassefa2439 4 года назад
i start programming since 9th grade(now freshman collage) and these people are just covering what i did't cover in 5 years
@jatidiri9198
@jatidiri9198 4 года назад
47:03 I love the way he admit his mistake
@srinivasan000
@srinivasan000 2 года назад
1.binary 2.ascii code 3.rgb 4.image 5.video 6.algorithm 7.pseudocode
@kitgary
@kitgary 4 года назад
That's the reason why everyone want to study Computer Science in top College like Harvard!!!
@domyj35
@domyj35 5 лет назад
Awesome professor, only 15 minutes in and wow just wow.
@Jim-Robbins
@Jim-Robbins 2 года назад
Thanks! I learned a lot about C programming and just programming in general.
@RedEyedJedi
@RedEyedJedi 5 лет назад
He is so good at teaching and say's humans so many times, that I'm starting to think he isn't one. No wonder Harvard are so good, they have extraterrestrials for lecturers.
@AnNguyen-oz6qw
@AnNguyen-oz6qw 4 года назад
Word taken from Conan O'Brien: "When someone refers to themselves, or other people as humans, they are not one."
@brianbrian5842
@brianbrian5842 3 года назад
I think he says that instead of engineer so as not to discourage the students who may not see themselves as an engineer.
@thunderingeagle
@thunderingeagle 3 года назад
@@AnNguyen-oz6qw 😂😂 that's a good one
@richardb2795
@richardb2795 5 лет назад
It’s so good to see programs like Scratch. I hope more middle or elementary schools teach programming.
@blackbird8010
@blackbird8010 5 лет назад
I dont have tecnic class nor programming class. It says on my shedelue that we do, but i think its just a cover for the school. They do not want to learn out tec witch results in not passing the grade. And my score will get low
@petevenuti7355
@petevenuti7355 2 года назад
My school back in the late 70's early 80s got a computer , I learned logo and lisp in fourth grade and got an Atari 400 when it came out , using basic and assembly at home.. I was teaching the 6 graders.. Can you do an auto complete/correct program subroutine in scratch? Or is it too oversimplified? I mean can you detect key presses, scanning and interups and handle them yourself, at least a get() instead of input()? I took a c class in college , watching this because I forgotten most of it in the last 30 years... Looking back, I had a talent, that's what I should have been doing ....
@ryanamberger
@ryanamberger 2 года назад
Are all Harvard classrooms this beautiful? I would love to go to school there. Just to experience the beauty and history of the school itself.
@isma--
@isma-- 2 года назад
I JUST WATCH THE HOLE VIDEO EVEN WHEN I LEARN C IN THE PAST SEMESTER IN MY UNIVERSITY, BUT... OMG THIS TEACHER IS AMAZING, HE CATCH MY ATTENTION SINCE SECOND ONE!!!!
@samuelon2733
@samuelon2733 2 года назад
It's very impressive for the instructor to speak so much and and fast.
@pyrotechnick420
@pyrotechnick420 5 лет назад
You can also create new files in the Terminal window by using the "touch" command. So entering something like "touch int.c" would create that file!
@Kuraakka
@Kuraakka 5 лет назад
or vim int.c and be cool
@CThisNikkoStreaming
@CThisNikkoStreaming Год назад
This guy is awesome! Great presentation of the subject!
@MOHITSHARMAOFFICIALACCOUNT
@MOHITSHARMAOFFICIALACCOUNT 3 года назад
If I was teaching at Harvard University. I'll be as much enthusiastic as him teaching.
@NduaMusic
@NduaMusic 5 лет назад
superior explanation for beginners
@chazzman4553
@chazzman4553 2 года назад
If you don't learn CS first, you'll be in a world of "hurt" later. Super lecturer!
@bittudeb8665
@bittudeb8665 Год назад
Hello , myself Arindom from INDIA , don't have much idea about programming, just started to know about it and I keep going.
@bermedailayf9775
@bermedailayf9775 Год назад
You are a skillful teacher. Thanks for sharing your talent,
@randaldavis8976
@randaldavis8976 10 месяцев назад
Nice graphics and video for a lecture. I remember my programming (lisp,PL/1,Pascal, learned C on my own) classes as much quicker and denser information. The only class I had trouble was assembly, had a poor teacher (grad student, first time on subject. Later I took assembly from a retired industry professional at a junior college and it was tremendous. He had the best students trying to save machine cycles and make well structured programs. T
@mustafaoraibi
@mustafaoraibi 9 месяцев назад
😊
@BradenBest
@BradenBest 2 года назад
I'd like to offer an alternative interpretation for the rationale of starting from 0: offsets. When you have a pointer to some address in memory, and then you have a second pointer that will start from the first pointer and "walk" along the data structure, what do you say the difference is when both pointers are equal,. i.e. when the mobile pointer is pointing to the first element? The difference is zero, that's its offset. So to say you're grabbing the value at address `pointer + 0` (offset zero units from the start of the data) is to say that you're grabbing the first element. if `*(array + 0)` was equivalent to `array[1]` instead of `array[0]`, arrays would be a LOT harder to navigate and off-by-one errors would be a lot more common. That's the real reason: Pointer arithmetic, file offsets, anywhere you are dealing with offsets (which turns out to be most of the time), zero indexing is more mathematically natural. Or if you're pushing elements into an array by using its length: `array[length] = value`, `memcpy(array + length, array2, MIN(availablesize, length2))`, and then `array` s length is incremented by the number of bytes added. It's simple. People only think it's hard because they deal with C strings which tack on an extra byte at the end while not considering it part of the array (strlen returns the length excluding the final byte).
@majdalin1265
@majdalin1265 Год назад
Thank you Mike, you are a great teacher i am speechless thank you code academy
@cut3882
@cut3882 5 лет назад
Thanks for this. Please continue uploading this kind of videos.
@adipurnomo5683
@adipurnomo5683 2 года назад
The great teacher i ve ever seen
@HostDotPromo
@HostDotPromo 5 лет назад
Wow this is great and the beginning is super cool! 😎
@ThePatrickFamilyBand
@ThePatrickFamilyBand 2 года назад
I can officially say I took a course from Harvard now
@wassimboussebha2561
@wassimboussebha2561 3 года назад
The maximum value of 32 bits in decimal ( 111...1) is 1073741824 ( 2^30 maximum ) , ( i made a C function for that )
@nuralikhoja8773
@nuralikhoja8773 5 лет назад
I feel great when i am one of the 62k people who have learnt from it and rest of the world is stuck at following trends :P
@suryatejaswi4751
@suryatejaswi4751 3 года назад
I love how witty you are :))
@probinsyanongbotikol7213
@probinsyanongbotikol7213 4 года назад
i like the way he teach such a very good teaching style.
@adrianhdragon718
@adrianhdragon718 3 года назад
Thank you very much for this. HAD MADE IT MY NEW YEAR RESOLUTION to finally learn some COMPUTER SCIENCE....Better late than never as some say EYE GUESS ;0).....well guess am a Millennial Minority but maybe there are others like me BORN IN 1984
@naineshrathod2392
@naineshrathod2392 4 года назад
Hatts off to the enthusiasm of the teacher !
@freecodecamp
@freecodecamp 5 лет назад
This is the second video in the course. Check out the full playlist: ru-vid.com/group/PLWKjhJtqVAbmGw5fN5BQlwuug-8bDmabi Here is a forum to discuss CS50 with other people from freeCodeCamp: www.freecodecamp.org/forum/c/harvard-cs50
@suatcandayanikli7708
@suatcandayanikli7708 3 года назад
It would be better if you pinned the comment ;)
@hectorcanizales5900
@hectorcanizales5900 3 года назад
you should probably pin this...
@srjblk
@srjblk 2 года назад
I don't even care if you add ads to the download you're just such a goat ❤️ ❤️ ❤️
@hamed3012
@hamed3012 3 года назад
This instructor is amazing. Thanks!
@sendohikari3436
@sendohikari3436 2 года назад
I love the way he teaches stuff.
@KradianKrad
@KradianKrad 4 года назад
Brilliant video! Really cleared my concepts on under/overflow!
@s.veteranramboalpha6762
@s.veteranramboalpha6762 2 года назад
how dafuqq :|
@sarahmedouni8844
@sarahmedouni8844 2 года назад
i already know C basics but i'm gonna be watching this
@KaedeAnimation
@KaedeAnimation Год назад
You know this learning video is going to be very helpful to you when it from Harvard University
@subhajitadhikary5444
@subhajitadhikary5444 4 года назад
What a method of teaching, awesome ❤️❤️
@bella74luna
@bella74luna 5 лет назад
Really helping fill in the spaces from FCC! Gracias! Great teaching style
@bhavani_coding
@bhavani_coding Год назад
Hi
@ravelbella7330
@ravelbella7330 Год назад
Very clear! Thank you charismatic instructor!
@GoogleUser-me8wk
@GoogleUser-me8wk 2 месяца назад
Last time I learn was 13 years ago but its great get refresher
@susanmallard6594
@susanmallard6594 2 года назад
Outstanding. Exceptional.
@mashawickramasinghe195
@mashawickramasinghe195 2 года назад
everybody needs a lecturer like him in their lives :)
@zippytyro
@zippytyro 4 года назад
May God always bless these people.
@juno7893
@juno7893 2 года назад
I’d love to have this gentlemen as my professor. 👏🏻👏🏻👏🏻
@PS_Tube
@PS_Tube 6 месяцев назад
That's why error handling in high level languages makes sense. And C inspired high-level language like C# do that inbuilt.
@kylekeenan3485
@kylekeenan3485 Год назад
Really enjoyed this. Although I would have preferred if he advised students that you should not use your own stylistic way of writing code but to write it as he did because it's considered the industry standard.
@shayanali7558
@shayanali7558 2 года назад
Why didn't Harvard got this man an AC I mean he really is struggling with all the sweat
@mahkhi7154
@mahkhi7154 2 года назад
A Compiler is a Virtual Machine that Understands more than 1's or 0's. You can even make a Machine that Understands that Without 1 / 0 hardware. A quantum Computer is a Different type of Machine.
@timtruett5184
@timtruett5184 2 года назад
Compilers have nothing to do with virtual machines
@SANDEEPSandeep-pr2xi
@SANDEEPSandeep-pr2xi 2 года назад
We need this kind of teachers, 🙂
@arjuntt2604
@arjuntt2604 2 года назад
this is very very basic, but those basics are explained or conveyed in a way better way
@haripriya7706
@haripriya7706 3 года назад
I am just loved these sessions😊😊
@abielwubet2587
@abielwubet2587 Год назад
the Great teacher ever on the Planet
@thegamechanger7157
@thegamechanger7157 2 года назад
If(xY)
@thiravidan1
@thiravidan1 4 года назад
It is a very interesting... and clear explaining. C Language is the predecessor of C++, Java, C# ..... etc. Basically before C Language, Pascal was a best structural language for Computer Science students. Pascal gives you essence of Computer High Level Language easily.
@NehaSharma-hy7jk
@NehaSharma-hy7jk 4 года назад
Really good..this is the best learning video i have ever watched..really helpful...
@PhucNguyen-pf3qb
@PhucNguyen-pf3qb 5 лет назад
the sandbox is very interesting, especially the terminal
@cyborgdale
@cyborgdale 4 года назад
C does not have boolean data types, and normally uses integers for boolean testing. ("bool" is defined in a library.) 1 is TRUE and 0 is FALSE. (Actually, anything other than 0 is TRUE.) The "while" statement for the infinite loop can be shortened to "while(1):".
@KpFriendly
@KpFriendly 2 года назад
But while true is more readable, the performance gain is minimal
@xtianhdz
@xtianhdz 3 года назад
1:51:25 you should correct the function call to : " void cough(int);"
@TheJacklwilliams
@TheJacklwilliams 2 года назад
Excellent. Absolutely valuable. I'm in.
@ilearncode7365
@ilearncode7365 2 года назад
For deciding when to use a float or a double, this is known as "Terry's God Question". You have to decide whether a decision in code is Divine Intellect, or if its too much voodoo for the intended purposes.
@sgrrpa6431
@sgrrpa6431 4 года назад
worth seeing entire video
@punitkumar-hr2tw
@punitkumar-hr2tw 3 года назад
he is one of the best teacher i saw so much enthusiastic .
@Honeybee9630
@Honeybee9630 3 года назад
He is gift to humanity and people who want to learn com sci
@delete7316
@delete7316 10 месяцев назад
If all CS instructors were this enthusiastic, we would have achieved AGI 5 years ago.
@user-iw1bz9qp2c
@user-iw1bz9qp2c 2 года назад
Can't imagine these knowledge would be instill into students' brains within just 2 hours lol.
@TheENERGYent
@TheENERGYent 4 года назад
David Malan thankyou 🙏
@leenajain6344
@leenajain6344 5 лет назад
Whenever he says "literally" I start remembering ROBIN SHARBATSKI of HIMYM
Далее
God-Tier Developer Roadmap
16:42
Просмотров 7 млн
An Entire Computer Science Degree in 11 Minutes
11:13
Просмотров 788 тыс.
Why Democracy Is Mathematically Impossible
23:34
Просмотров 3,7 млн
COMPUTER SCIENCE explained in 17 Minutes
16:49
Просмотров 981 тыс.
The mind behind Linux | Linus Torvalds | TED
21:31
What Is A Graphics Programmer?
30:21
Просмотров 419 тыс.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Просмотров 536 тыс.