I am pretty good at programming now but still watch these videos whenever I am free. They are so good and pretty entertaining too... Moreover being an open class with live doubts helps to get a better grasp of what errors one can make.
Me too, I'm like entering my second year in the CS course at my university but I just love these lectures and was just wondering if in the course of time I will come back to them because they're so pleasing to watch. David is a fantastic teacher to make us feel this way. :)
2:45 *Who else was waiting for him to say binary 4 and show the middle finger. It was funny how he giggled a little bit, as he thought about it.* Professor, your amazing love from Somalia.
The video is 30 seconds in and hes already a better teacher than anyone i have had in college, well he is in harvard so thats what i would expect lol, but really energetic, love that.
I find these basics useful while learning (now) JAVA. It explains the logic why/how somebody billion years ago was thinking while creating these programming langues. Definitely going to finish watching these after my brain refuses to pick up, before going to sleep ^^
Coming at this knowing a bit about C++ and C, He makes other professors that teach C and C++ look like a joke. I am not sure I have ever seen a professor teach better than this. Ever.
Biz bir gemiyi kaçırmış neslin evlatlarıyız, bu gemiyi yeniden inşaa etmemiz gerekiyor. Şu anlatımın güzelliğine bakın... Sayın akademisyenler en azından biraz izleyip ders alın :)
Definitely David Malan is the best teacher of computer science that exists, But what can you expect if he took this introductory course with Brian Kernighan
This is an amazing video regarding CS50. But I think I take up a SAP class is better for me to know the features & functions from "Company" itself. Yes. Nothing but 0 & 1 only.
i had a little trouble with the language used describing the concepts. Science is about precision and been exact, so if you didn't grow up in an environment where people used these words often, you wont really know them. Write a list of every word you come across and spend some time relating them to what you do know. I was only guessing what a "function" was because where I come from, a function is a party or get together that people have to get drunk (along way from computer science so wtf) Then I learned a "function" can be confused with "operation"... one is what it does, the other is the way it does it or the method used. simple when you know. So take your time to learn every word you cant fully comprehend. for example, variables, arrays and structures, objects and classes.. the difference between a type and value even. I didnt really know what a principal was (are we in a school or something). funny but the english language is full of words with different meanings. Just because you can read something doesn't mean you sense or understand. it will trip you up later on. Learn the lingo because its overwhelming and makes you feel stupid at fist. When you know the lingo.. its basics 2 + 2 stuff.
thank you so much! great strategy. Honestly I understood most things in this but some parts I felt a little lost. Glad I'm not the only one, my only issue is a few of those kids in the auditorium may have the same issue too!!!
i am non-havard student, and I seemed to have problems with the cs50 sandbox. Does the sandbox the teacher used in the video have extra setting than the one I find on sandbox.cs50.io/3f9e8177-e901-465b-ab88-78c932804431 ? Right? I typed in the same thing but errors showed up saying cannot find the file. what should I do?
I had a quick question, if we are using an underscore in the name of a function...what is the difference between "get_string" and "string answer = get_string("What's your name?/n");" ? Why is there no underscore between "string answer...etc"
Totally agree. I don't get why they would use the library when teaching the fundamentals of C... That library should be brought in only after learning the basics of C so that the building blocks and fundamentals are taught to help build upon later.
1:51:45 I've a doubt that when i want to add a custom piece variable (Mr.David did on cough example) from another folder. What will i want to do so,...?
@@davidjmalan am an African student who once thought of studying at MIT but due to chances that were limited I did not make it!! However,with your teachings;I feel am having equal opportunités with those you teachs physically. Thanks alot Sir.
@1:50:00 in the cough3.c demo, does anyone know if the prototype he created earlier on void cough(void) needs to be changed to match the input type when he changed it to accept an integer, something like void cough(int)? If it doesn't matter, can anyone explain why it's ok if the parameters don't match.
I believe so. The short and long answer about function declarations and the difference between something() and something(void) is here: stackoverflow.com/questions/41803937/func-vs-funcvoid-in-c99 A declaration of void cough(void) says that cough doesn't take any parameters, void cough() on the other hand says the parameters and their types aren't specified. There are differences between versions of C, and there might be differences between compilers: stackoverflow.com/questions/2575153/must-declare-function-prototype-in-c
Well, computer is nothing but a tall building where there is a bunch of people in their apartments turning lights off and on and by doing so writing messages and signals. That is it.
@@tildey6661 Yes, you could write x is less than y or x is greater than y: x < y || x > y But x is not equal to y is much more compact, easier to read, and says the same thing: x != y
@@user-fk8zw5js2p But why? x !=y is implied by x > y and x < y, and the program presumably wants to know if it's higher or lower. If you just wanted to know if it is or isn't ==, that'd be fine though.
@@tildey6661 Best example I can think of is what if you have a list of data and you want to filter out everything that is != to some value. Easier to type x != y so the filter only returns the desired data or the desired data sets with a specific value.
true and false are C++ keywords C don’t have them most use for(;;) as a loop forever in C, it one can #define true 1 #define false 0 Or go old school label: {} goto label I expect compiler will produce the unconditional branch instruction as it should be for a loop for ever but true and false were implied as keywords in C that are not only in C++ Found the video interesting good way of teaching C.
The lectures are from 2018 I believe. You can follow along and submit problem sets with edx. Feel free to join the CS50 Discord channel if you ever need some pointers. Don't let a few blocks stop you from pushing forward :)
I wish every subject had a teacher like David.
not every subject is as interesting as cs
I am pretty good at programming now but still watch these videos whenever I am free. They are so good and pretty entertaining too...
Moreover being an open class with live doubts helps to get a better grasp of what errors one can make.
Me too, I'm like entering my second year in the CS course at my university but I just love these lectures and was just wondering if in the course of time I will come back to them because they're so pleasing to watch. David is a fantastic teacher to make us feel this way. :)
Same here. I've finished my CS and I know all these concepts. But it's so fun to watch CS50 lectures.
Nikhil,
What did you think of all that Scratch stuff? Did you go back and do it? Or did you just skip over it?
2:45 *Who else was waiting for him to say binary 4 and show the middle finger. It was funny how he giggled a little bit, as he thought about it.* Professor, your amazing love from Somalia.
myyy people thrivvve
just kidding im from indinesiia, i mean fuccckkk
You are a great teacher.
printf ("Thanks ,from Egypt .");
for(i=2;i>1;i++){
printf ("one of the best teachers") ; }
بما انكم من مصر يعنى بتفهموه ازاى بيتكلم بسرعة جدا وانا مش عارفه امسك معلومة واحدة
@@karmnshawki1226 الترجمة فيه عربي وانجليزي
اختار عربي
او انجليزي وترجم الجملة اللي تقف معاك
@@Yosefus418 هحاول كده وشكرا جدا
Salah مفيد بس انت محتاج شغل كبير
جدا بعديه
بمانك مش واخد شهادة فأنت محتاج تشتغل اكتر بطبيعة الحال
David makes me love programming even more, thanks man
This series is better than anime series.
Lloyd Luciano that if your a nerd like everyone probably watching this video and me
also has anime intro wtf
this dubbed anime has really good voice actors, keeps me entertained! ^_^
Much much better
The video is 30 seconds in and hes already a better teacher than anyone i have had in college, well he is in harvard so thats what i would expect lol, but really energetic, love that.
Shakespere in middle ages : 'To be or not to be..'
Humans in 2018: 'Open Bread'
This guy certainly has the talant to teach! As a teacher myself, I really admire him!
*Punishment*
Write "Talent" x100 n bring it tmrr.
@@rahulthapa7610 My bad. Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent Talent
So grateful. This is gold. Thank you for all your efforts. I dont know if I will be able to complete this playlist. But thankyou.
I need to watch this so many times!
I find these basics useful while learning (now) JAVA. It explains the logic why/how somebody billion years ago was thinking while creating these programming langues. Definitely going to finish watching these after my brain refuses to pick up, before going to sleep ^^
I'm using these to prep for my CS online program and it is SO HELPFUL! Thanks a million!
This series is better than movie .I really appreciate it .from myanmar.Is anyone from myanmar raise your thumb
Thank you sir, you are a great teacher.
Coming at this knowing a bit about C++ and C, He makes other professors that teach C and C++ look like a joke. I am not sure I have ever seen a professor teach better than this. Ever.
might be why hes teaching at harvard ¯\_(ツ)_/¯ ¯\_(ツ)_/¯
I had to stop and make some peanut butter and jelly sandwiches halfway through.
1:01:50 coding summarized in two seconds
stackoverflow and indian people
This is n*infinity times better than intro to CS course i took at Carnegie Mellon
Bruhh..
i hope i saw this course befor
so so thank you sir
you doing a perfect job👍❤️🙏
Biz bir gemiyi kaçırmış neslin evlatlarıyız, bu gemiyi yeniden inşaa etmemiz gerekiyor. Şu anlatımın güzelliğine bakın... Sayın akademisyenler en azından biraz izleyip ders alın :)
Absolutely grateful for this! Thankssssss....
Very welcome!
he is a good teacher
you may lose interest in watching first due to his speaking speed but if you persist youll learn a lot with fun
When he asks "are there any questions?"
I was really hoping someone would say "yes, i'm completely lost, can you start at the very beginning?" lol
This isn't hard at all lol. You might just have a low IQ.
Bloomd RUDE
@@bloomd6320 dude it's just a joke lol
@@bloomd6320 “people who boast their IQ’s are losers” - Stephen Hawking
Definitely David Malan is the best teacher of computer science that exists, But what can you expect if he took this introductory course with Brian Kernighan
david loves make the telephone book into two
The best teacher !!
Peanut butter Jelly 😄, love these classes, so practical and fun 😋☺
What an awesome lecture!!! Thank you !!! 🙏👌
This is an amazing video regarding CS50. But I think I take up a SAP class is better for me to know the features & functions from "Company" itself. Yes. Nothing but 0 & 1 only.
Great Intro...Much Appreciated
thank uou from egypt
و انا من ام الدنيا بردو
Why have they disregarded scanf as a whole. Is there any problem with it?
i had a little trouble with the language used describing the concepts. Science is about precision and been exact, so if you didn't grow up in an environment where people used these words often, you wont really know them.
Write a list of every word you come across and spend some time relating them to what you do know. I was only guessing what a "function" was because where I come from, a function is a party or get together that people have to get drunk (along way from computer science so wtf) Then I learned a "function" can be confused with "operation"... one is what it does, the other is the way it does it or the method used. simple when you know.
So take your time to learn every word you cant fully comprehend. for example, variables, arrays and structures, objects and classes.. the difference between a type and value even. I didnt really know what a principal was (are we in a school or something). funny but the english language is full of words with different meanings.
Just because you can read something doesn't mean you sense or understand. it will trip you up later on. Learn the lingo because its overwhelming and makes you feel stupid at fist. When you know the lingo.. its basics 2 + 2 stuff.
u can join this WhatsApp group where u can discuss and ask about anything u want with other students in CS50
chat.whatsapp.com/KPUe7ylF29DIbiDg3a57Ug
thank you so much! great strategy. Honestly I understood most things in this but some parts I felt a little lost. Glad I'm not the only one, my only issue is a few of those kids in the auditorium may have the same issue too!!!
@@crashbunks best of luck friend
That moment when you realize that int's 32 bit can't even represent Bill Gates' net worth (~$100b).
Doubles 😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎
@@aidensmith6277 ok calm it there bucko
but a WORD can ;)
there's a bug at @1:50:27 , in the first half, there should be void cough(int n); and not void cough(void);
he changed it he was giving an example and demonstrating. he knows
1:12:00 return type
u can join this WhatsApp group where u can discuss and ask about anything u want with other students in CS50
chat.whatsapp.com/KPUe7ylF29DIbiDg3a57Ug
damn my man is literal
SO MUCH INFORMATION!!!!
Thanks Teacher From Morocoo
Amazing lecture
hello I'm from Brazil
i am non-havard student, and I seemed to have problems with the cs50 sandbox. Does the sandbox the teacher used in the video have extra setting than the one I find on sandbox.cs50.io/3f9e8177-e901-465b-ab88-78c932804431 ? Right? I typed in the same thing but errors showed up saying cannot find the file. what should I do?
how can i applicate on sandbox and use it ?
i find a dififulty in it?
31:40 just imagine if a computer were to do one step per second
I had a quick question, if we are using an underscore in the name of a function...what is the difference between "get_string" and "string answer = get_string("What's your name?/n");" ? Why is there no underscore between "string answer...etc"
'string answer' means the variable ' answer' is the string type, but get_string is the function.
Ray Mong Thank you, Ray
36th :) (since we start counting at zero) much love from brazil
I wish I would have watched this when I started programming.
How to add cs50.h library in other IDEs?
47:07 its not a bug its a feature
perfect!
how to add cs50.h library to vs code
Sandbox is no longer active as I can understand and so where is the homework then?
can we do single %s for all variable
example: printf("hello,%s", answer1,"you are", answer2,"years old" )
only one %s
No you would do:
printf("hello, %s. You are %i years old", answer1, answer2);
Doesn't learning stuff that only exist in the cs.50 library kinda stunt our knowledge of c syntax?
Totally agree. I don't get why they would use the library when teaching the fundamentals of C... That library should be brought in only after learning the basics of C so that the building blocks and fundamentals are taught to help build upon later.
@@ezrag26 They are not teaching the fundamentals of C, they are teaching problem solving with computer science.
Great!
Better than MIT lecturer
"Hah! Your grade school teachers lied to you"
I include the labirary cs50. h but I got the error message again help me to fix this
1:51:45
I've a doubt that when i want to add a custom piece variable (Mr.David did on cough example) from another folder.
What will i want to do so,...?
You mention you can get the IDE for offline use but I've never found info on this?
See cs50.readthedocs.io/ide/offline/!
@@davidjmalan you're a hero. ☺️💐 Shree gurve namah !
@@davidjmalan you are really good teacher I'm really inspired form you and saw your a lots of video
@@davidjmalan am an African student who once thought of studying at MIT but due to chances that were limited I did not make it!!
However,with your teachings;I feel am having equal opportunités with those you teachs physically.
Thanks alot Sir.
is there a link for the cs 50 lab?
@1:50:00 in the cough3.c demo, does anyone know if the prototype he created earlier on void cough(void) needs to be changed to match the input type when he changed it to accept an integer, something like void cough(int)? If it doesn't matter, can anyone explain why it's ok if the parameters don't match.
I believe so.
The short and long answer about function declarations and the difference between something() and something(void) is here: stackoverflow.com/questions/41803937/func-vs-funcvoid-in-c99
A declaration of void cough(void) says that cough doesn't take any parameters, void cough() on the other hand says the parameters and their types aren't specified. There are differences between versions of C, and there might be differences between compilers: stackoverflow.com/questions/2575153/must-declare-function-prototype-in-c
printf("Thanks from London, from Uzbekistan citizen!");
So I just started the 2018 course, and the lecture links to the 2017 version of this video. Which one do I watch?
Think you from SaudiArabia
Wasn't expecting nuclear Gandhi haha
There is no type which is name 'bool' in C ,We can create it on our own.
typedef enum { false , true } bool;
Its like watching play
Is there a link to the homework assignments?
Indeed, if you register (for free) as an auditor at cs50.edx.org/, everything is there!
error(s).
main.c:xx:xx: fatal error: cs50.h: No such file or directory compilation terminated.
You are using sandbox, right? If not, yse it.
If you are, I dont know :p
@@aidensmith6277 nope I'm using editor in Android
@@trendingnow-i6l The library is available on the sandbox. Your editor is looking for cs50.h on your device but it doesn't exist :p
@@SaladHood I'm using termux android emulator for Linux environment same problem exits
I love these examples at the end🤣
Okay shawty 👀 14:00
what is he using to clear the terminal?
You can type `clear` or use control-L!
Can a string store only one character ?
where can we find the assignment?
You can find assignments on CS50 website and edx!
this one is so hard, get confused already
Not alone brother
1:52:00
Well, computer is nothing but a tall building where there is a bunch of people in their apartments turning lights off and on and by doing so writing messages and signals. That is it.
Hello dino rossi
Thanks David.
Satya Nadella blackmailed and active corrupted.
okay how does this thing has just 19k views??
up to almost 34k now
42k now :)
Because rather than learning, people are busy looking for everything else. Though the views are 47K+ now.
Just had my first CS class in college today
It's hosted a lot of other places
#include
int main (void)
{
printf("Thanks for the lesson!
");
}
Think's I'm not good in English but I'm really happy
Welcome to CS50!
the girl on the left is crazy fine
The over/under flow thing is pretty cool.
If you watched this video in Germany, you are part of
We are at least two ;)
"We'll come back to this term earlier" - David Malan - CS50 at ruclips.net/video/wEdvGqxafq8/видео.html
Did anyone else have a video/audio off sync problem at 1:09:39?
No
30:20 I can think of a 4th. How about x is not equal to y?
If x is not equal to y it *has* to be either higher or lower than y
@@tildey6661 Yes, you could write x is less than y or x is greater than y:
x < y || x > y
But x is not equal to y is much more compact, easier to read, and says the same thing:
x != y
@@user-fk8zw5js2p But why? x !=y is implied by x > y and x < y, and the program presumably wants to know if it's higher or lower. If you just wanted to know if it is or isn't ==, that'd be fine though.
@@tildey6661 Best example I can think of is what if you have a list of data and you want to filter out everything that is != to some value. Easier to type x != y so the filter only returns the desired data or the desired data sets with a specific value.
how does he delete lines in the terminal?
You can use the "clear" command
It's called C Lang not K Lang.
Sir David, could you explain Chemistry in such way, please?
1:16:54
dynamo genius
Wow
true and false are C++ keywords C don’t have them most use for(;;) as a loop forever in C, it one can #define true 1
#define false 0
Or go old school label: {} goto label
I expect compiler will produce the unconditional branch instruction as it should be for a loop for ever but true and false were implied as keywords in C that are not only in C++
Found the video interesting good way of teaching C.
2:08:12 woah, and 787 max just got grounded in my country today
what a coincidence
Also do to the programming error
there is a problem with the Arabic translation, it begins before he speaks. is there any solution ? @David J. Malan
Sorry about that! Should be fixed :)
Is this a new lecture? I plan to continue again I stop recently because I couldn't figure out the mario less problem.
2018 oct lecture
The lectures are from 2018 I believe. You can follow along and submit problem sets with edx. Feel free to join the CS50 Discord channel if you ever need some pointers. Don't let a few blocks stop you from pushing forward :)
It's similar to java may bee 😊.after all c is the mother of all language