Command Line Arguments - CS50 Shorts

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 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
    TH-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 ปีที่แล้ว +36

    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.

  • @李海君-j1c
    @李海君-j1c 2 ปีที่แล้ว +4

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

    • @rashaadgibbs2759
      @rashaadgibbs2759 2 ปีที่แล้ว

      lol me too

    • @maxim5519
      @maxim5519 ปีที่แล้ว +1

      Command Line Arguments scare me much more...

  • @delfimassa7645
    @delfimassa7645 3 ปีที่แล้ว +14

    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.

  • @kaviyas4762
    @kaviyas4762 หลายเดือนก่อน

    Thank you!

  • @shoppingvlogs1555
    @shoppingvlogs1555 4 ปีที่แล้ว +14

    Super but show us with an example Plz

  • @RajanKumar-yy9pj
    @RajanKumar-yy9pj 3 ปีที่แล้ว +1

    Perfect

  • @cagatayerdogru628
    @cagatayerdogru628 2 ปีที่แล้ว

    great explanation

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

  • @AlanMars
    @AlanMars 4 หลายเดือนก่อน

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

  • @carlosvalle9868
    @carlosvalle9868 4 ปีที่แล้ว

    Thank you

  • @seanlee566
    @seanlee566 2 ปีที่แล้ว

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

  • @gardenvariety-
    @gardenvariety- ปีที่แล้ว

    what is reference 50?

  • @nadiarusiecki5785
    @nadiarusiecki5785 ปีที่แล้ว

    I thought argv[3] would be null

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

  • @rojinphilip2909
    @rojinphilip2909 6 ปีที่แล้ว

    Next: th-cam.com/video/vK_naJkrtjc/w-d-xo.htmlautoplay=1&rel=0