CS50 2018 - Lecture 1 - C

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 228

  • @borgestheborg
    @borgestheborg 5 лет назад +122

    I wish every subject had a teacher like David.

    • @surajbiswas7794
      @surajbiswas7794 2 года назад +1

      not every subject is as interesting as cs

  • @NikhilChauhan-mp5kl
    @NikhilChauhan-mp5kl 6 лет назад +79

    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.

    • @marco.nascimento
      @marco.nascimento 6 лет назад +1

      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. :)

    • @ahmadjamalmughal47
      @ahmadjamalmughal47 5 лет назад +1

      Same here. I've finished my CS and I know all these concepts. But it's so fun to watch CS50 lectures.

    • @lohdiwei9778
      @lohdiwei9778 5 лет назад

      Nikhil,
      What did you think of all that Scratch stuff? Did you go back and do it? Or did you just skip over it?

  • @Muhammad-sx7wr
    @Muhammad-sx7wr 5 лет назад +26

    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.

    • @khalifasaid2796
      @khalifasaid2796 4 года назад +1

      myyy people thrivvve
      just kidding im from indinesiia, i mean fuccckkk

  • @Yosefus418
    @Yosefus418 5 лет назад +77

    You are a great teacher.
    printf ("Thanks ,from Egypt .");

    • @aliwalid8541
      @aliwalid8541 5 лет назад +8

      for(i=2;i>1;i++){
      printf ("one of the best teachers") ; }

    • @karmnshawki1226
      @karmnshawki1226 5 лет назад +3

      بما انكم من مصر يعنى بتفهموه ازاى بيتكلم بسرعة جدا وانا مش عارفه امسك معلومة واحدة

    • @Yosefus418
      @Yosefus418 5 лет назад +2

      @@karmnshawki1226 الترجمة فيه عربي وانجليزي
      اختار عربي
      او انجليزي وترجم الجملة اللي تقف معاك

    • @karmnshawki1226
      @karmnshawki1226 5 лет назад

      @@Yosefus418 هحاول كده وشكرا جدا

    • @Yosefus418
      @Yosefus418 5 лет назад +1

      Salah مفيد بس انت محتاج شغل كبير
      جدا بعديه
      بمانك مش واخد شهادة فأنت محتاج تشتغل اكتر بطبيعة الحال

  • @kama8213
    @kama8213 5 лет назад +3

    David makes me love programming even more, thanks man

  • @Eikon_FF
    @Eikon_FF 6 лет назад +172

    This series is better than anime series.

    • @javaviper3127
      @javaviper3127 5 лет назад

      Lloyd Luciano that if your a nerd like everyone probably watching this video and me

    • @Notdyinginthewoods
      @Notdyinginthewoods 5 лет назад +4

      also has anime intro wtf

    • @jecours11
      @jecours11 5 лет назад +2

      this dubbed anime has really good voice actors, keeps me entertained! ^_^

    • @29namankumar29
      @29namankumar29 3 года назад

      Much much better

  • @OfficialCD4
    @OfficialCD4 5 лет назад +1

    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.

  • @anant6778
    @anant6778 4 года назад +13

    Shakespere in middle ages : 'To be or not to be..'
    Humans in 2018: 'Open Bread'

  • @katyakat4127
    @katyakat4127 5 лет назад +10

    This guy certainly has the talant to teach! As a teacher myself, I really admire him!

    • @rahulthapa7610
      @rahulthapa7610 5 лет назад

      *Punishment*
      Write "Talent" x100 n bring it tmrr.

    • @katyakat4127
      @katyakat4127 5 лет назад +2

      @@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

  • @abhishekmazumdar2072
    @abhishekmazumdar2072 5 лет назад +2

    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.

  • @CanaryAlien
    @CanaryAlien 5 лет назад +7

    I need to watch this so many times!

  • @xPain91
    @xPain91 5 лет назад

    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 ^^

  • @patriciawood6598
    @patriciawood6598 5 лет назад

    I'm using these to prep for my CS online program and it is SO HELPFUL! Thanks a million!

  • @Zwe
    @Zwe 4 года назад

    This series is better than movie .I really appreciate it .from myanmar.Is anyone from myanmar raise your thumb

  • @mustafaawad
    @mustafaawad 6 лет назад +22

    Thank you sir, you are a great teacher.

  • @andrewburke6158
    @andrewburke6158 5 лет назад +3

    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.

    • @Indanati
      @Indanati 5 лет назад +2

      might be why hes teaching at harvard ¯\_(ツ)_/¯ ¯\_(ツ)_/¯

  • @RM-dn9ph
    @RM-dn9ph 5 лет назад +15

    I had to stop and make some peanut butter and jelly sandwiches halfway through.

  • @ubermensch5472
    @ubermensch5472 5 лет назад +12

    1:01:50 coding summarized in two seconds

    • @hamletjr_
      @hamletjr_ 5 лет назад +4

      stackoverflow and indian people

  • @chenghtmark1
    @chenghtmark1 5 лет назад +1

    This is n*infinity times better than intro to CS course i took at Carnegie Mellon

  • @salarjabar1399
    @salarjabar1399 5 лет назад +3

    i hope i saw this course befor
    so so thank you sir
    you doing a perfect job👍❤️🙏

  • @zalcodd
    @zalcodd 4 месяца назад

    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 :)

  • @yasminaaden2622
    @yasminaaden2622 5 лет назад +3

    Absolutely grateful for this! Thankssssss....

  • @mishalshaista9607
    @mishalshaista9607 5 лет назад +2

    he is a good teacher

  • @aisaqib4889
    @aisaqib4889 5 лет назад +3

    you may lose interest in watching first due to his speaking speed but if you persist youll learn a lot with fun

  • @vendetta3656
    @vendetta3656 5 лет назад +11

    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

    • @bloomd6320
      @bloomd6320 5 лет назад +1

      This isn't hard at all lol. You might just have a low IQ.

    • @bavidlynx3409
      @bavidlynx3409 5 лет назад +5

      Bloomd RUDE

    • @hamletjr_
      @hamletjr_ 5 лет назад +4

      @@bloomd6320 dude it's just a joke lol

    • @lor8437
      @lor8437 3 года назад

      @@bloomd6320 “people who boast their IQ’s are losers” - Stephen Hawking

  • @yotmanreyes
    @yotmanreyes 5 лет назад +4

    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

  • @sujit5872
    @sujit5872 4 года назад +1

    david loves make the telephone book into two

  • @roetilliceline2917
    @roetilliceline2917 5 лет назад +1

    The best teacher !!

  • @mellameezie
    @mellameezie 3 года назад

    Peanut butter Jelly 😄, love these classes, so practical and fun 😋☺

  • @manolin.6597
    @manolin.6597 5 лет назад

    What an awesome lecture!!! Thank you !!! 🙏👌

  • @metaccount2994
    @metaccount2994 4 года назад

    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.

  • @unitedsoundrecord
    @unitedsoundrecord 5 лет назад +3

    Great Intro...Much Appreciated

  • @karmnshawki1226
    @karmnshawki1226 5 лет назад +2

    thank uou from egypt

  • @vishnub9165
    @vishnub9165 5 лет назад +1

    Why have they disregarded scanf as a whole. Is there any problem with it?

  • @shanescallan771
    @shanescallan771 5 лет назад +1

    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.

    • @mahmoudhamed3160
      @mahmoudhamed3160 5 лет назад

      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

    • @crashbunks
      @crashbunks 5 лет назад

      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!!!

    • @shanescallan771
      @shanescallan771 5 лет назад

      @@crashbunks best of luck friend

  • @Up_wa_rd
    @Up_wa_rd 6 лет назад +26

    That moment when you realize that int's 32 bit can't even represent Bill Gates' net worth (~$100b).

    • @aidensmith6277
      @aidensmith6277 5 лет назад +2

      Doubles 😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎

    • @MineSomeCraftPoo
      @MineSomeCraftPoo 5 лет назад +7

      @@aidensmith6277 ok calm it there bucko

    • @AnindyaMahajan
      @AnindyaMahajan 4 года назад

      but a WORD can ;)

  • @shivamchanana8967
    @shivamchanana8967 5 лет назад +2

    there's a bug at @1:50:27 , in the first half, there should be void cough(int n); and not void cough(void);

    • @barkbarkbark198
      @barkbarkbark198 5 лет назад +1

      he changed it he was giving an example and demonstrating. he knows

  • @xavierdsouza8885
    @xavierdsouza8885 5 лет назад

    1:12:00 return type

    • @mahmoudhamed3160
      @mahmoudhamed3160 5 лет назад

      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

  • @mr_noob5931
    @mr_noob5931 5 лет назад +2

    damn my man is literal

  • @african7895
    @african7895 5 лет назад +4

    SO MUCH INFORMATION!!!!

  • @programmingwithadil6604
    @programmingwithadil6604 5 лет назад

    Thanks Teacher From Morocoo

  • @aanchalsharma5264
    @aanchalsharma5264 6 лет назад +3

    Amazing lecture

  • @micaiasoliveira6337
    @micaiasoliveira6337 4 года назад +2

    hello I'm from Brazil

  • @呀你可
    @呀你可 5 лет назад

    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?

    • @karmnshawki1226
      @karmnshawki1226 5 лет назад

      how can i applicate on sandbox and use it ?
      i find a dififulty in it?

  • @ubermensch5472
    @ubermensch5472 5 лет назад +3

    31:40 just imagine if a computer were to do one step per second

  • @dlcrdz00
    @dlcrdz00 6 лет назад +1

    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"

    • @raymong3092
      @raymong3092 6 лет назад +2

      'string answer' means the variable ' answer' is the string type, but get_string is the function.

    • @dlcrdz00
      @dlcrdz00 6 лет назад

      Ray Mong Thank you, Ray

  • @o1-preview
    @o1-preview 6 лет назад +4

    36th :) (since we start counting at zero) much love from brazil

  • @himbary
    @himbary 6 лет назад +2

    I wish I would have watched this when I started programming.

  • @pariveshlunia1999
    @pariveshlunia1999 5 лет назад

    How to add cs50.h library in other IDEs?

  • @stefanlin5086
    @stefanlin5086 3 года назад

    47:07 its not a bug its a feature

  • @okan.e
    @okan.e Год назад

    perfect!

  • @mohankrishna752
    @mohankrishna752 5 лет назад

    how to add cs50.h library to vs code

  • @jewps4701
    @jewps4701 5 месяцев назад

    Sandbox is no longer active as I can understand and so where is the homework then?

  • @fivestarfox5277
    @fivestarfox5277 4 года назад

    can we do single %s for all variable
    example: printf("hello,%s", answer1,"you are", answer2,"years old" )
    only one %s

    • @IncendiaHL
      @IncendiaHL 2 года назад

      No you would do:
      printf("hello, %s. You are %i years old", answer1, answer2);

  • @austins.219
    @austins.219 5 лет назад +3

    Doesn't learning stuff that only exist in the cs.50 library kinda stunt our knowledge of c syntax?

    • @ezrag26
      @ezrag26 5 лет назад +1

      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.

    • @scottparrish8566
      @scottparrish8566 5 лет назад +7

      @@ezrag26 They are not teaching the fundamentals of C, they are teaching problem solving with computer science.

  • @karantinvschole
    @karantinvschole 4 года назад

    Great!

  • @fabs-dz3jz
    @fabs-dz3jz 5 лет назад +1

    Better than MIT lecturer

  • @amansahu6799
    @amansahu6799 5 лет назад +1

    "Hah! Your grade school teachers lied to you"

  • @mualimfarooq2982
    @mualimfarooq2982 5 лет назад

    I include the labirary cs50. h but I got the error message again help me to fix this

  • @yasararafath4941
    @yasararafath4941 6 лет назад

    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,...?

  • @TheStevenWhiting
    @TheStevenWhiting 6 лет назад +6

    You mention you can get the IDE for offline use but I've never found info on this?

    • @davidjmalan
      @davidjmalan 6 лет назад +13

      See cs50.readthedocs.io/ide/offline/!

    • @ankursinghsikarwar7104
      @ankursinghsikarwar7104 6 лет назад +2

      @@davidjmalan you're a hero. ☺️💐 Shree gurve namah !

    • @muhammadumerfarooq3639
      @muhammadumerfarooq3639 6 лет назад +1

      @@davidjmalan you are really good teacher I'm really inspired form you and saw your a lots of video

    • @meshukomoney9499
      @meshukomoney9499 6 лет назад +5

      @@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.

  • @pyrodmj
    @pyrodmj 6 лет назад +1

    is there a link for the cs 50 lab?

  • @GeekY126
    @GeekY126 6 лет назад

    @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.

    • @watfordjc
      @watfordjc 5 лет назад

      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

  • @kama8213
    @kama8213 5 лет назад

    printf("Thanks from London, from Uzbekistan citizen!");

  • @danivanon
    @danivanon 6 лет назад +3

    So I just started the 2018 course, and the lecture links to the 2017 version of this video. Which one do I watch?

  • @الهنوفمحمد-ث4س
    @الهنوفمحمد-ث4س 5 лет назад

    Think you from SaudiArabia

  • @joereeve2569
    @joereeve2569 5 лет назад +1

    Wasn't expecting nuclear Gandhi haha

  • @echoanatolia5721
    @echoanatolia5721 5 лет назад

    There is no type which is name 'bool' in C ,We can create it on our own.
    typedef enum { false , true } bool;

  • @abhisheksahani4481
    @abhisheksahani4481 4 года назад

    Its like watching play

  • @BlindElephantNK
    @BlindElephantNK 5 лет назад +1

    Is there a link to the homework assignments?

    • @davidjmalan
      @davidjmalan 5 лет назад +3

      Indeed, if you register (for free) as an auditor at cs50.edx.org/, everything is there!

  • @trendingnow-i6l
    @trendingnow-i6l 6 лет назад

    error(s).
    main.c:xx:xx: fatal error: cs50.h: No such file or directory compilation terminated.

    • @aidensmith6277
      @aidensmith6277 5 лет назад

      You are using sandbox, right? If not, yse it.
      If you are, I dont know :p

    • @trendingnow-i6l
      @trendingnow-i6l 5 лет назад

      @@aidensmith6277 nope I'm using editor in Android

    • @SaladHood
      @SaladHood 5 лет назад

      @@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

    • @trendingnow-i6l
      @trendingnow-i6l 5 лет назад

      @@SaladHood I'm using termux android emulator for Linux environment same problem exits

  • @touchdani
    @touchdani 6 лет назад

    I love these examples at the end🤣

  • @almighysanti3061
    @almighysanti3061 4 года назад

    Okay shawty 👀 14:00

  • @catherinetranfield7726
    @catherinetranfield7726 5 лет назад

    what is he using to clear the terminal?

    • @davidjmalan
      @davidjmalan 5 лет назад +3

      You can type `clear` or use control-L!

  • @chief1353
    @chief1353 5 лет назад

    Can a string store only one character ?

  • @deliciajoycepeaceiradukund7962
    @deliciajoycepeaceiradukund7962 5 лет назад

    where can we find the assignment?

    • @갸냐다
      @갸냐다 5 лет назад +1

      You can find assignments on CS50 website and edx!

  • @chenglongyu3350
    @chenglongyu3350 5 лет назад +2

    this one is so hard, get confused already

  • @glassesfactory6987
    @glassesfactory6987 6 лет назад +1

    1:52:00

  • @dinorossi6611
    @dinorossi6611 5 лет назад

    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.

  • @jean-michelbendaci2564
    @jean-michelbendaci2564 Год назад

    Thanks David.
    Satya Nadella blackmailed and active corrupted.

  • @bishwashpokhrel8779
    @bishwashpokhrel8779 6 лет назад +24

    okay how does this thing has just 19k views??

    • @12B-m6l
      @12B-m6l 6 лет назад

      up to almost 34k now

    • @o1-preview
      @o1-preview 6 лет назад

      42k now :)

    • @Deepz007
      @Deepz007 6 лет назад +4

      Because rather than learning, people are busy looking for everything else. Though the views are 47K+ now.

    • @o1-preview
      @o1-preview 6 лет назад

      Just had my first CS class in college today

    • @Beastw1ck
      @Beastw1ck 6 лет назад +2

      It's hosted a lot of other places

  • @adilkhasenov3721
    @adilkhasenov3721 4 года назад +1

    #include
    int main (void)
    {
    printf("Thanks for the lesson!
    ");
    }

  • @الهنوفمحمد-ث4س
    @الهنوفمحمد-ث4س 5 лет назад

    Think's I'm not good in English but I'm really happy

  • @thewolfofswingthat2035
    @thewolfofswingthat2035 4 года назад +1

    the girl on the left is crazy fine

  • @lastnamefirstname2390
    @lastnamefirstname2390 6 лет назад

    The over/under flow thing is pretty cool.

  • @DandragonDe
    @DandragonDe 6 лет назад +3

    If you watched this video in Germany, you are part of

    • @Mindfak224
      @Mindfak224 5 лет назад

      We are at least two ;)

  • @TheGraecus
    @TheGraecus 5 лет назад

    "We'll come back to this term earlier" - David Malan - CS50 at ruclips.net/video/wEdvGqxafq8/видео.html

  • @nicholascoggin2021
    @nicholascoggin2021 6 лет назад

    Did anyone else have a video/audio off sync problem at 1:09:39?

  • @user-fk8zw5js2p
    @user-fk8zw5js2p 6 лет назад

    30:20 I can think of a 4th. How about x is not equal to y?

    • @tildey6661
      @tildey6661 6 лет назад +1

      If x is not equal to y it *has* to be either higher or lower than y

    • @user-fk8zw5js2p
      @user-fk8zw5js2p 6 лет назад

      @@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

    • @tildey6661
      @tildey6661 6 лет назад

      @@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.

    • @user-fk8zw5js2p
      @user-fk8zw5js2p 6 лет назад

      @@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.

  • @mariiatkachova570
    @mariiatkachova570 5 лет назад +1

    how does he delete lines in the terminal?

    • @brutuswallus
      @brutuswallus 5 лет назад

      You can use the "clear" command

  • @a.a7907
    @a.a7907 4 года назад

    It's called C Lang not K Lang.

  • @MasterSergius
    @MasterSergius 5 лет назад +1

    Sir David, could you explain Chemistry in such way, please?

  • @heroesp100
    @heroesp100 5 лет назад

    1:16:54

  • @12B-m6l
    @12B-m6l 6 лет назад

    dynamo genius

  • @abhisheksahani4481
    @abhisheksahani4481 4 года назад

    Wow

  • @insoft_uk
    @insoft_uk 5 лет назад

    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.

  • @tushar1594
    @tushar1594 5 лет назад +1

    2:08:12 woah, and 787 max just got grounded in my country today

    • @shawnchen750
      @shawnchen750 5 лет назад +1

      what a coincidence

    • @Wilsonq_q
      @Wilsonq_q 5 лет назад

      Also do to the programming error

  • @omarmahmoud6116
    @omarmahmoud6116 6 лет назад

    there is a problem with the Arabic translation, it begins before he speaks. is there any solution ? @David J. Malan

    • @coltonoscopy
      @coltonoscopy 6 лет назад +1

      Sorry about that! Should be fixed :)

  • @garrtrigger
    @garrtrigger 6 лет назад

    Is this a new lecture? I plan to continue again I stop recently because I couldn't figure out the mario less problem.

    • @trendingnow-i6l
      @trendingnow-i6l 6 лет назад

      2018 oct lecture

    • @SaladHood
      @SaladHood 5 лет назад +1

      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 :)

  • @musicalgames935
    @musicalgames935 5 лет назад

    It's similar to java may bee 😊.after all c is the mother of all language