Command Line Arguments - CS50 Shorts

Поділитися
Вставка
  • Опубліковано 8 жов 2024
  • ***
    This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
    ***
    HOW TO SUBSCRIBE
    www.youtube.com...
    HOW TO TAKE CS50
    edX: cs50.edx.org/
    Harvard Extension School: cs50.harvard.e...
    Harvard Summer School: cs50.harvard.e...
    OpenCourseWare: cs50.harvard.e...
    HOW TO JOIN CS50 COMMUNITIES
    Discord: / discord
    Ed: cs50.harvard.e...
    Facebook Group: / cs50
    Faceboook Page: / cs50
    GitHub: github.com/cs50
    Gitter: gitter.im/cs50/x
    Instagram: / cs50
    LinkedIn Group: / 7437240
    LinkedIn Page: / cs50
    Reddit: / cs50
    Quora: www.quora.com/...
    Slack: cs50.edx.org/s...
    Snapchat: / cs50
    Twitter: / cs50
    UA-cam: / cs50
    HOW TO FOLLOW DAVID J. MALAN
    Facebook: / dmalan
    GitHub: github.com/dmalan
    Instagram: / davidjmalan
    LinkedIn: / malan
    Quora: www.quora.com/...
    Twitter: / davidjmalan
    ***
    CS50 SHOP
    cs50.harvardsh...
    ***
    LICENSE
    CC BY-NC-SA 4.0
    Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
    creativecommon...
    David J. Malan
    cs.harvard.edu...
    malan@harvard.edu

КОМЕНТАРІ • 32

  • @chihab37
    @chihab37 Рік тому +38

    that pause at 1:24 was so intense he looked straight in my soul and made me reconsider my whole life, questioning my beliefs and values..

  • @DesislavaDicheva
    @DesislavaDicheva 4 роки тому +40

    I love the Harvard tutorials. That's why they have the best professors and gradates. They explain everything very simple and detailed. Great job! Thank you!

  • @TheElhombremacho
    @TheElhombremacho 3 роки тому +26

    1:27 “it’s an array” the line is so well delivered

    • @WicCaesar
      @WicCaesar 2 роки тому +3

      It's an arRAY! ♥__♥

    • @bikdigdaddy
      @bikdigdaddy Рік тому +3

      the deathstare was legit

    • @hayleybarbara1589
      @hayleybarbara1589 8 місяців тому +1

      ​@@bikdigdaddyand in that moment, Doug stared into my soul.

  • @delfimassa7645
    @delfimassa7645 3 роки тому +15

    Does anyone else jump every time with the music at the beginning? lol For some reason youtube is always way louder than spotify in my computer

    • @AfzalAlis
      @AfzalAlis 3 роки тому

      had to replace my eardrums after that 🔊🔊🔊

    • @nblsilent
      @nblsilent 2 роки тому +2

      I simply hate this intro.

    • @maxim5519
      @maxim5519 Рік тому

      @@nblsilent

  • @bigbucksbuzz
    @bigbucksbuzz Рік тому +4

    This would have been nice to know for the credit problem.

  • @李海君-j1c
    @李海君-j1c 2 роки тому +4

    1:24 , i was scared for a moment, haha.

  • @kaviyas4762
    @kaviyas4762 2 місяці тому

    Thank you!

  • @cagatayerdogru628
    @cagatayerdogru628 2 роки тому

    great explanation

  • @shoppingvlogs1555
    @shoppingvlogs1555 4 роки тому +14

    Super but show us with an example Plz

  • @RajanKumar-yy9pj
    @RajanKumar-yy9pj 3 роки тому +1

    Perfect

  • @kornmc
    @kornmc 2 роки тому

    simple and detailed!

  • @thibdeved
    @thibdeved 2 роки тому +2

    If 'argv' is an array of string, in the example at the end of the video, argv[3] shouldn't be the character NULL (\0) ? We saw in the lecture Null is always the last element of the array to a string array

    • @badrmahmoud4437
      @badrmahmoud4437 2 роки тому +4

      Null is the last element of a string not any other array. That’s because any other array already has a size.

    • @maxim5519
      @maxim5519 Рік тому +1

      @@badrmahmoud4437 ok, But in this video Doug said that argv - argument vector is just one more name of array, equal to array.
      It means that: string argv[ ] in the end must have \0.

    • @freerights6695
      @freerights6695 Рік тому +3

      @@maxim5519 no. the \0 is used for strings, not arrays of strings. That means that argv's last element will be a string, not \0. However, the string elements themselves will end with \0.

    • @alimaher1
      @alimaher1 Рік тому +1

      @@freerights6695 same thought came into my mind. thanks for the explanation.

  • @carlosvalle9868
    @carlosvalle9868 4 роки тому

    Thank you

  • @AlanMars
    @AlanMars 4 місяці тому

    Why would the compiler even let you go beyond the bounds of the array?

  • @seanlee566
    @seanlee566 2 роки тому

    0:38 doesn't Doug mean before runtime? Doesn't runtime mean the time the program is running?

  • @nadiarusiecki5785
    @nadiarusiecki5785 2 роки тому

    I thought argv[3] would be null

  • @gardenvariety-
    @gardenvariety- Рік тому

    what is reference 50?

  • @rojinphilip2909
    @rojinphilip2909 6 років тому

    Next: ua-cam.com/video/vK_naJkrtjc/v-deo.htmlautoplay=1&rel=0

  • @fokkenhotz
    @fokkenhotz 5 років тому +3

    obviously you're not going to show us twice so to get it we will have to look back. Y? bcoz the flipping screen keeps flipping away when you ask if we "SEE" something check that!