Speaking as a dude who grew up with a pair of parents who were heavily involved in theatre, yeah, those lights get really hot. In fact, when you're the one on stage, the way they teach you to know for certain that you are centered in a true spotlight, which is not present in this, is when you feel the subtle warmth on your skin. Tales abound from my wife, who was at one time also heavily involved in theatre, of dreaded "actor sweat" and the many searches for laundry detergent that actually got that smell out of costumes.
i dont know what to say? such a useful video for me. Here in India we are not taught in this way/ first time getting accessed to things like this. Thanks a lot. Make some air conditioning for him, he is sweating a lot. That could disturb him from giving the presentation better
Anyone understand why the get_int function can be called without making reference to the cs50 name ( the library name)? what if two libraries had identical function names for example?
Can anyone explain please? Here @ 44: 31, near the % sign, we use the declared variable "i": int i = get_int ("Integer:"); printf ("hello,% i \ n", i); Here @ 47: 05, near the % sign, we also use a variable, but it is not declared: int x = get_int("x: "); int y = get_int("y: "); printf("%i plus %i is %i ", x, y, x+y ); 1. Can we use near the % sign only declared variables? 2. If so, why we are using in the second example something, that is not declared previously ?
%i, %s,%c and %d %f are all used by default in c. It just tells the compiler what type of value will follow. The value that must be declared before being used are the ones after the comma printf("%i plus %i is %i ", x ,y ,x+y); So here above. x and y must be declared before being used. but %i just means the values are integers. If he used %s, it means the values x, y , x + y are strings. If you can remember he said printf("%i plus %i is %i") The first %i stands for x and the second stands for y and the last stands for whatever the result of x+y is. I hope this helps, despite being verbose and not succint :)
Thanks for the explanation. initially confuses the fact that the first example uses a letter "i" as a variable. Thus it seems that the same letter "i" should be used next to the % sign and after the decimal point. i.e. if you defined a variable at the beginning int i = get_int ("Type an Integer:"); you shoul use it then everywhere printf ("hello,% i \ n", i); But it would be much easier if he used another letter. Something like that: int x = get_int ("Type an Integer:"); printf ("hello,% i \ n", x); 1. User types an integer (e.g 5 ) 2. x stores data (5) 3. x passes data do %i 4. output shows the the following "hello 5" so yes. Now it's clear :))) Thanks
%i reprensents a space, where you can print ingteger, it is not a variable. After that you pass a variable which will be printed in that space - i at the first example, and x and y at the second.
Late, but I would recommend this course: ruclips.net/p/PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo The title may be computer science but it also explains how transistors that can only be turned on and off transformed into components like CPU, ram, etc and the design behind those components.
I have a question for CS50 team. if int reserves a piece of memory to store some number then why that piece of memory ignore the number after decimal point? Is it because decimal point takes more memory ? It also can not be true because float and int reserves same amount of memory.
int and float treat the bits stored in that memory differently. an int just stores an integer number. However a float, stores a floating point number IE scientific notation. The bits are split into a number part 1.xxxxxxx and a exponent 10^x. They are also processed in different parts of the CPU.
As is pointed out (perhaps not very clearly), the criteria for executing that line of code is "is i LESS than 50". So when i is 49, it is the 50th time going through the loop, the line will be executed, and then i increased to 50, at which point it will check "is 50 LESS than 50", which is not the case - 50 is equal to 50, not less. Thus the line will not be run a 51st time and execution of the program continues below the loop. If you started i off at 1, as is more natural to most people, the criteria would have to be "i is LESS OR EQUAL to 50", or "i
Jesus Christ with you greedy people. Just appreciate this free course which costs around $150,000 to get it in Harvard. Malan truly covers EVERYTHING until the last course. Just use these things you learnt here, push yourself a bit ... and you will go to the advanced level by yourself dude :)
Kazi Mehdi The education shown here is MORE THAN ENOUGH. If indeed you watched like a student -- as I did, you WOULD NEVER ask for more. You have 11 GREAT lectures, streching from C , to Algorithms and goes all the way up until JavaScript. I HAVE ZERO, 0, knowledge on Computer Science and now I can program by myself. The only thing that can teach me anything now are Books, Stack Overflow and PRACTICE :) You TRULY shouldn't ask for more than these 11 lectures, because it only proves you didn't learn anything here Kazi :)
Only shows that you didn't complete ANY of Professor Malan's homework and that you just passed these videos, just waiting for more. Turn off the butt-hurt and go polish your coding.
most profs/lecturers can learn from him. Same with the Australian CS professor Richard Buckland. Seriously, look up some of his lectures on youtube. Fantastic energy and charisma. What a terrific CS prof. ruclips.net/user/BucklandRichard
Also, THIS GUY is just great. His lectures are great and double as a stand up comedy routine, basically. I love him, but this is an older course and I don't know if he has any more/newer ones up. Prof Mehran Sahami from Stanford. He's hilarious! ruclips.net/video/KkMDCCdjyW8/видео.html
"Your message wasn't delivered to sysadmins@cs50.harvard.ed because the domain cs50.harvard.ed couldn't be found. Check for typos or unnecessary spaces and try again." is what I got
@@kareemzidane1538 "Your message wasn't delivered to sysadmins@cs50.harvard.ed because the domain cs50.harvard.ed couldn't be found. Check for typos or unnecessary spaces and try again." is what I got on gmail
You can find the course transcript on the course's page on edx : courses.edx.org/courses/course-v1:HarvardX+CS50+X/courseware/bdc606f10e7347f6a61a341c4544bbf7/71a3739357a54a0e81348468341214b3/?child=first
Wait ...What??? at 16:24 when "YOU" did scratch. Like what? I never did scratch. I watched a little of it on here.. but they never gave me a link to download the software to experiment and do a project doing scratch. How am I supposed to learn and understand if I do not get to practice? Sure glad I did not pay for the degree. This is nothing like that was lead on to believe. You get an "F".
+John Smith You can also not be an invalid and look it up yourself. What's the point of having the internet and countless search engines at your fingertips if you refuse to use them.
I'm on J Smith's side on this. These videos are a cover up for his involvement with a hacking/gangstalking organization that recently was discovered through an investigation that started in Columbia, MO. A group of physicians called the Changers that are involved w murder to rape were caught. Search "the Changers, audio, evidence," on RUclips. He's posting video and pics that portray him as a good person/teacher which would be why someone "set him up" and made it look like he was involved. Truth is these docs were using VR environments to target and watch people in Columbia. They set up military grade wireless network across the city so they could place hidden cameras anywhere they wanted. My wife worked with these docs and confirmed they were doing this. We located cameras in our home, tracking software on her phone and computer after installing app and program a Tom Aleto MD recommended. The network of gangstalkers utilize very sophisticated technology to target a person but not undetectable. Unfortunately they also pay off police and sheriff dept. in order to get away with their crimes. Truth is they are sex addicts, drug addicts and criminal voyeurs in Columbia Mo and went as far killing a reporter Keith Heitholt Sports Editor of the Columbia Tribune after he uncovered their activity and convinced the police detectives that Ryan Ferguson was responsible along w another kid who was brain washed at MUPC a psych hospital at the University of Missouri Hospital to say they did it. Ryan was found guilty w/o any evidence other than a psych evaluation of a psychotic patient who said he had a dream about it. Ask anything you want. Then go to "rate my professor" web site and look up Malan and his comments from students. Do you really think Harvard students are making these comments? it's a cover up
I don't get why people say "mac or PC". A mac is just a personal computer, your windows machine is a personal computer as well, and my linux/ubuntu is a superior personal computer...
Thank you for making it free to watch. Its a valuable contribution to humanity. We learn a lot. We've been tired starving and ignorance.
The fact that teacher is sweating is awesome. Love you guys, keep it up
awesome? ' felt bad for the teacher, sweating is not pleasent as far as i now, lol
Speaking as a dude who grew up with a pair of parents who were heavily involved in theatre, yeah, those lights get really hot. In fact, when you're the one on stage, the way they teach you to know for certain that you are centered in a true spotlight, which is not present in this, is when you feel the subtle warmth on your skin. Tales abound from my wife, who was at one time also heavily involved in theatre, of dreaded "actor sweat" and the many searches for laundry detergent that actually got that smell out of costumes.
These videos are awesome! I'm so glad you put this online for free! Much appreciation from the computer science community.
Very welcome!
i dont know what to say? such a useful video for me. Here in India we are not taught in this way/ first time getting accessed to things like this. Thanks a lot. Make some air conditioning for him, he is sweating a lot. That could disturb him from giving the presentation better
IS CS51 too available freely? I could not find it anywhere on RUclips. Well, thanks for providing CS50, its an invaluable contribution to the society.
Thanks lot!
They have many courses listed under "cs50"
Thanks for everything, really.
David,cs 50 2017 all intro videos are awesome.
great teacher
I llooooove cs inloooove it!!!
Excellent lecture! Super dynamic presenter! Loved it!
Thank you, Susannah!
☺☺Hello from spain.Thank you for a great class.
Thank you prof.! From Philippines, this is just awesome 👍👍
The course is very interesting and I am look forward to be part of...
I learned some new things today, thanks
He is the one of the best teacher 🙌
I can not understand exactly what he meant in the last ten minutes .
Fantastic teacher-thank you !!!!!!!!!!!!
Anyone understand why the get_int function can be called without making reference to the cs50 name ( the library name)? what if two libraries had identical function names for example?
this is great stuff!
let me go ahead and like
👌🙌
Can anyone explain please?
Here @ 44: 31, near the % sign, we use the declared variable "i":
int i = get_int ("Integer:");
printf ("hello,% i \ n", i);
Here @ 47: 05, near the % sign, we also use a variable, but it is not declared:
int x = get_int("x: ");
int y = get_int("y: ");
printf("%i plus %i is %i
", x, y, x+y );
1. Can we use near the % sign only declared variables?
2. If so, why we are using in the second example something, that is not declared previously ?
%i, %s,%c and %d %f are all used by default in c. It just tells the compiler what type of value will follow. The value that must be declared before being used are the ones after the comma
printf("%i plus %i is %i
", x ,y ,x+y);
So here above. x and y must be declared before being used. but %i just means the values are integers.
If he used %s, it means the values x, y , x + y are strings.
If you can remember he said
printf("%i plus %i is %i") The first %i stands for x and the second stands for y and the last stands for whatever the result of x+y is.
I hope this helps, despite being verbose and not succint :)
Thanks for the explanation.
initially confuses the fact that the first example uses a letter "i" as a variable.
Thus it seems that the same letter "i" should be used next to the % sign and after the decimal point.
i.e. if you defined a variable at the beginning
int i = get_int ("Type an Integer:");
you shoul use it then everywhere
printf ("hello,% i \ n", i);
But it would be much easier if he used another letter.
Something like that:
int x = get_int ("Type an Integer:");
printf ("hello,% i \ n", x);
1. User types an integer (e.g 5 )
2. x stores data (5)
3. x passes data do %i
4. output shows the the following "hello 5"
so yes. Now it's clear :))) Thanks
%i reprensents a space, where you can print ingteger, it is not a variable. After that you pass a variable which will be printed in that space - i at the first example, and x and y at the second.
Hahahaha, that man seems "unstoppable". But our teachers are don't want to tell us anything about anything. (in Turkey academies and universities)
hangi üniversite?
seems you are a lazy student
@@noureddine3633 No dude. I'm just an alcoholic
@@cerberusrap that's forbidden, and still your fault not your teachers
@@noureddine3633 I'm an engineer now
44:50
I don't get what exactly %i
does?
And why it's , i following that ?
Is it c or c++?
This works on CS50.ide only, right ?
can i add up cs50 lib for general use.. or is there any other library i can use up instead of cs50 library
he is just enjoying it
Oh my God, these lectures are pure gem. Anyone knows about some decent lectures on basic electrical engineering or transistors, transformers?
Check out the edX plaftform edx.org. I'm pretty sure there are related courses.
Late, but I would recommend this course: ruclips.net/p/PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo
The title may be computer science but it also explains how transistors that can only be turned on and off transformed into components like CPU, ram, etc and the design behind those components.
I have a question for CS50 team. if int reserves a piece of memory to store some number then why that piece of memory ignore the number after decimal point? Is it because decimal point takes more memory ? It also can not be true because float and int reserves same amount of memory.
int and float treat the bits stored in that memory differently.
an int just stores an integer number.
However a float, stores a floating point number IE scientific notation. The bits are split into a number part 1.xxxxxxx and a exponent 10^x. They are also processed in different parts of the CPU.
@ 11:20 wouldn’t the program execute 51 times? counting 0-50....with zero being the first int
maybe?
As is pointed out (perhaps not very clearly), the criteria for executing that line of code is "is i LESS than 50". So when i is 49, it is the 50th time going through the loop, the line will be executed, and then i increased to 50, at which point it will check "is 50 LESS than 50", which is not the case - 50 is equal to 50, not less. Thus the line will not be run a 51st time and execution of the program continues below the loop.
If you started i off at 1, as is more natural to most people, the criteria would have to be "i is LESS OR EQUAL to 50", or "i
its so good thanks sir
Charlie Sheen teaching me to code. Awesome
97,109,97,122,105,110,103 (ASCII)
Why did you put a semicolon when you copied the "return code" to the header ?
can you specify the exact time he did that?
Dear Professor Malan, We are requesting for also CS51. Please do us this favor. Want to learn more advanced level. Thank you very much.
Jesus Christ with you greedy people.
Just appreciate this free course which costs around $150,000 to get it in Harvard.
Malan truly covers EVERYTHING until the last course.
Just use these things you learnt here, push yourself a bit ... and you will go to the advanced level by yourself dude :)
The One Chill out dude! Greed for education is no shame at all. Do not insult yourself.
Kazi Mehdi The education shown here is MORE THAN ENOUGH. If indeed you watched like a student -- as I did, you WOULD NEVER ask for more.
You have 11 GREAT lectures, streching from C , to Algorithms and goes all the way up until JavaScript.
I HAVE ZERO, 0, knowledge on Computer Science and now I can program by myself.
The only thing that can teach me anything now are Books, Stack Overflow and PRACTICE :)
You TRULY shouldn't ask for more than these 11 lectures, because it only proves you didn't learn anything here Kazi :)
No one asked you to reply to my comment. If you don't like, avoid. Don't compare. Stop interfering. Don't judge. It's a serious bad habit.
Only shows that you didn't complete ANY of Professor Malan's homework and that you just passed these videos, just waiting for more.
Turn off the butt-hurt and go polish your coding.
Does anyone know where to find the sample code he uses in the lectures?
on edx : courses.edx.org/courses/course-v1:HarvardX+CS50+X/courseware/bdc606f10e7347f6a61a341c4544bbf7/71a3739357a54a0e81348468341214b3/?child=first
i am not seeing any ide in this video where can i test your codes
cs50.net
Can Indian college professors/lecturers learn from him?
Turkey, too.
most profs/lecturers can learn from him. Same with the Australian CS professor Richard Buckland. Seriously, look up some of his lectures on youtube. Fantastic energy and charisma. What a terrific CS prof.
ruclips.net/user/BucklandRichard
Also, THIS GUY is just great. His lectures are great and double as a stand up comedy routine, basically. I love him, but this is an older course and I don't know if he has any more/newer ones up. Prof Mehran Sahami from Stanford. He's hilarious!
ruclips.net/video/KkMDCCdjyW8/видео.html
No not all bro. Although they charge very high compare to them.
i just hope Indian lecturers work on their fucking ACCENT!
I've got a mac but CS50 IDE won't open. What do I do?
Try emailing sysadmins@cs50.harvard.edu with the symptom you're seeing!
@@kareemzidane1538 Done! Thank you!
"Your message wasn't delivered to sysadmins@cs50.harvard.ed because the domain cs50.harvard.ed couldn't be found. Check for typos or unnecessary spaces and try again." is what I got
@@kareemzidane1538 "Your message wasn't delivered to sysadmins@cs50.harvard.ed because the domain cs50.harvard.ed couldn't be found. Check for typos or unnecessary spaces and try again." is what I got on gmail
@@azfarbilal8799 it's .edu not .ed.
where can i find the homework of cs50?
on edx site
Türkiye burda mı
this hall does not have ac for teacher
I hope my professor would be like him... haha
can you gave me PDF course
You can find the course transcript on the course's page on edx : courses.edx.org/courses/course-v1:HarvardX+CS50+X/courseware/bdc606f10e7347f6a61a341c4544bbf7/71a3739357a54a0e81348468341214b3/?child=first
Me: Holy shit C already *downloads GCC*
Get this man some air conditioning.
Intel inside? He sure doesnt know what kind of CPUs are the best ones.
I am copying exactly what he is doing and I am getting undefined reference to main
Copy paste what you have here
Wow
19:10 cs50.io
Wait ...What??? at 16:24 when "YOU" did scratch. Like what? I never did scratch. I watched a little of it on here.. but they never gave me a link to download the software to experiment and do a project doing scratch. How am I supposed to learn and understand if I do not get to practice? Sure glad I did not pay for the degree. This is nothing like that was lead on to believe. You get an "F".
On the first lecture, he showed us Scratch AND told us the online version is on: scratch.mit.edu/
If you do this course through edx, all the links and info are there. It's free.
+John Smith You can also not be an invalid and look it up yourself. What's the point of having the internet and countless search engines at your fingertips if you refuse to use them.
I'm on J Smith's side on this. These videos are a cover up for his involvement with a hacking/gangstalking organization that recently was discovered through an investigation that started in Columbia, MO. A group of physicians called the Changers that are involved w murder to rape were caught. Search "the Changers, audio, evidence," on RUclips. He's posting video and pics that portray him as a good person/teacher which would be why someone "set him up" and made it look like he was involved. Truth is these docs were using VR environments to target and watch people in Columbia. They set up military grade wireless network across the city so they could place hidden cameras anywhere they wanted. My wife worked with these docs and confirmed they were doing this. We located cameras in our home, tracking software on her phone and computer after installing app and program a Tom Aleto MD recommended. The network of gangstalkers utilize very sophisticated technology to target a person but not undetectable. Unfortunately they also pay off police and sheriff dept. in order to get away with their crimes. Truth is they are sex addicts, drug addicts and criminal voyeurs in Columbia Mo and went as far killing a reporter Keith Heitholt Sports Editor of the Columbia Tribune after he uncovered their activity and convinced the police detectives that Ryan Ferguson was responsible along w another kid who was brain washed at MUPC a psych hospital at the University of Missouri Hospital to say they did it. Ryan was found guilty w/o any evidence other than a psych evaluation of a psychotic patient who said he had a dream about it. Ask anything you want. Then go to "rate my professor" web site and look up Malan and his comments from students. Do you really think Harvard students are making these comments? it's a cover up
@@derekclark5545 source?
I don't get why people say "mac or PC". A mac is just a personal computer, your windows machine is a personal computer as well, and my linux/ubuntu is a superior personal computer...