CS50x 2024 - Lecture 1 - C

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

ความคิดเห็น • 559

  • @tomasb3191
    @tomasb3191 10 หลายเดือนก่อน +584

    I have been writing software for 15 years, this is such a great intro. happy for anyone who's starting with this material.

    • @the-naked-sailor
      @the-naked-sailor 9 หลายเดือนก่อน +4

      Really? I thought it was horrible. Spoke way to fast and failed to elaborate. I feel sorry for the kids.

    • @tomasb3191
      @tomasb3191 9 หลายเดือนก่อน +38

      @@the-naked-sailor I think it goes through a lot of content in a really cohesive manner. anyone starting here has a lifetime of learning ahead, I think of this video as a table of contents or index for the future.

    • @the-naked-sailor
      @the-naked-sailor 9 หลายเดือนก่อน

      @@tomasb3191 what languages do you speak?, and, what kind of software do you write for pleasure?

    • @detectivegrumpy4652
      @detectivegrumpy4652 9 หลายเดือนก่อน +20

      @@the-naked-sailor there's a pause button for a reason lol.

    • @the-naked-sailor
      @the-naked-sailor 9 หลายเดือนก่อน

      @@detectivegrumpy4652 lolololoololololololololol...... you idiot. The only reason you see it is because I put it there.

  • @andythomas4642
    @andythomas4642 9 หลายเดือนก่อน +559

    CS50 was my intro to programming, 3.5 years ago. Now I’m a Professional SWE without a formal CS background. This is the best beginner content available online. love the 2024 iteration 🖤

    • @mskadwa
      @mskadwa 9 หลายเดือนก่อน +16

      Can you tell me what you did after the CS50 course? What languages did you learn?

    • @norwyx3669
      @norwyx3669 8 หลายเดือนก่อน +7

      @@mskadwa yes

    • @BerekeTSame
      @BerekeTSame 7 หลายเดือนก่อน +1

      Please tell us so they can too?

    • @JohnSmith-tk7nt
      @JohnSmith-tk7nt 6 หลายเดือนก่อน +24

      @@BerekeTSame Lol nah. The comment section on these lectures isnt for questions or community learning, its rather for people to make general comments and acquire Likes.

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

      😮 17:21

  • @JohelSouza
    @JohelSouza 10 หลายเดือนก่อน +324

    Impressive energy. I remember the first time I watched CS50 so many years ago. I was impressed. And the guy is still full steam ahead. Great teacher!

    • @adan6566
      @adan6566 9 หลายเดือนก่อน +13

      How that meat taste?

    • @ApathyGaming01
      @ApathyGaming01 8 หลายเดือนก่อน +8

      @@adan6566 why so mad

    • @adan6566
      @adan6566 8 หลายเดือนก่อน +1

      @@ApathyGaming01 boffa

    • @shuri07
      @shuri07 8 หลายเดือนก่อน +3

      Bros probably that person who says "pause" every 2 second.

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

      @@shuri07 🍑💨

  • @curdledstraw227
    @curdledstraw227 6 หลายเดือนก่อน +60

    this is my second day. i must say that i am amazed how much i learned i such a little time, and how fun a 2 hour class can be.
    keep the good material coming!!!

    • @Ara-ara-g
      @Ara-ara-g หลายเดือนก่อน

      Is this series helpful to mean I'm a beginner and I don't understand a thing when my teacher taught and they taught either . Is this full c course?

    • @aliti9315
      @aliti9315 หลายเดือนก่อน +1

      @@Ara-ara-g this is a computer science course. It teaches the basics. In the course they'll be using C, Python, HTML, CSS, Javascript and SQL. Buuuuut like I said: It's a computer science course not a course about one single language. Because if you know the basics of programming syntax and concepts you know literally any language (even though all use some form of different flavor of these basics)

    • @Ara-ara-g
      @Ara-ara-g หลายเดือนก่อน

      @@aliti9315 then where can I learn full c course in youtube?

    • @afrasiyabarain7365
      @afrasiyabarain7365 16 วันที่ผ่านมา +1

      ​@@Ara-ara-g you should focus on completing this course first.

  • @calebcasual
    @calebcasual หลายเดือนก่อน +12

    You honestly might be one of the best, if not the very best teacher online for someone new to programming or computer science. Thank you so much for making this free for anybody to learn from, and explaining things in a very digestible chunks.
    Things I didn't understand, you've broken down very simply, and in an entertaining way. I'm very impressed and plan on following all 10 weeks of this class.

  • @danceplusofficial2107
    @danceplusofficial2107 10 หลายเดือนก่อน +217

    00:03 Today, we explore the traditional and older language called C.
    03:07 Understanding source code and machine code in C
    07:13 CS50.dev provides a user interface for writing and running code.
    09:08 Introduction to writing, compiling, and running code
    13:13 Using double quotes and semicolons in C
    15:14 Learning the new syntax in C is necessary to fix the formatting issue.
    19:02 Transition from Scratch to C programming language
    21:01 Header files in C provide access to pre-written code libraries.
    24:50 Using cs50.h to simplify input in C programming.
    26:47 Functions in C can have return values, similar to receiving a slip of paper with an answer.
    30:29 Remember to use semicolons in C programming.
    32:29 Formatting a string using printf function in C
    36:22 Using string variables and printf function in C programming.
    38:14 Understanding compiler errors and how to troubleshoot them.
    41:59 Introducing basic syntax for conditional statements in C
    43:49 Standardizing code formatting for consistency
    47:46 Introducing variables and data types in C
    49:30 C offers succinct syntax for incrementing and decrementing variable values.
    53:24 Control-flow diagram represents program's logic
    55:26 Branching and decision tree logic in C programming
    59:06 Optimizing logical circuits for efficient problem solving
    1:01:04 Software using C or C++ is vulnerable to hacking, unlike other languages.
    1:04:55 Implementing a more efficient method to handle uppercase and lowercase scenarios in C programming.
    1:06:53 Consistency and efficiency in coding
    1:10:39 Variables in C and how loops work
    1:12:24 Understanding Boolean expressions and control flow in C programming.
    1:16:04 Eliminating code duplication using a loop
    1:17:54 Looping through code with different syntax and logic
    1:21:28 Learn about loop and its syntax
    1:23:18 Understanding loops in C
    1:27:13 Defining and using functions in C
    1:29:07 Function prototypes provide essential information for the compiler.
    1:33:07 Creating functions that return values in C
    1:35:07 Introducing the addition operation and the printf function
    1:39:00 Updating add to take two integers as input
    1:40:57 Describing the use of argument and variable names in C
    1:44:36 Linux is a popular operating system, commonly used for servers.
    1:46:42 Developing muscle memory for programming tasks leads to increased productivity in the long run.
    1:50:36 Using rm command to remove files and its implications
    1:52:25 Commands becoming muscle memory, basic operations, upcoming new commands, and solving problems.
    1:56:03 Discussing the use of loops for better design in coding.
    1:57:48 Dynamically printing rows and columns in C for Mario game
    2:01:23 Using the CS50 library allows for dynamic input and improves usability.
    2:03:16 Using a loop, the program ensures desired user input
    2:07:07 Comments in C are used to add notes for humans to understand the code.
    2:09:03 Finite memory in devices has real-world implications for counting and storing numbers.
    2:12:52 The video discusses usage of larger data types like long integers.
    2:14:41 Use %f for float values to ensure accuracy in division.
    2:18:44 Computers have limitations in representing numbers, causing rounding errors and imprecision
    2:20:46 Numbers and memory constraints can impact code correctness.
    2:24:34 Numeric limitations causing critical errors
    2:26:51 Facing challenges and mistakes in problem-solving in C programming

    • @Naveen-ql6ry
      @Naveen-ql6ry 9 หลายเดือนก่อน +5

      thanks mate

    • @ali_ulug
      @ali_ulug 9 หลายเดือนก่อน +2

      Thank you @@Naveen-ql6ry

    • @Jameshowardadventures
      @Jameshowardadventures 8 หลายเดือนก่อน +5

      not all heroes wear capes

    • @kirankour8642
      @kirankour8642 5 หลายเดือนก่อน +1

      Thanks for your help 🙂

    • @Pranitha63
      @Pranitha63 4 หลายเดือนก่อน +1

      Anyone say this is enough to learn...? Then why all youtubers spending 10hr of time to teach c??

  • @Blezerker
    @Blezerker 10 หลายเดือนก่อน +75

    i LOVE this new intro! gives a great spooky suspensful vibe

    • @TheLightningYu
      @TheLightningYu 10 หลายเดือนก่อน +10

      I agree, feels like watching a TV Series or so xD

    • @КккКкк-я8ч
      @КккКкк-я8ч 9 หลายเดือนก่อน +3

      It's similar to the Silo OST for me, at least in a middle

  • @Hexspa
    @Hexspa หลายเดือนก่อน +6

    The learning curve is steep. I watched one time through, but need to watch it again.

  • @Porktoe
    @Porktoe 6 หลายเดือนก่อน +11

    David, you and your staff and Harvard as a whole are helping me recognize my dreams. I started out as a tradesman and I decided my body was not worth being destroyed to get a paycheck. This course has given me the courage to take the course as well as get my Bachelors in CS, so thank you to you and your team!

    • @davidjmalan
      @davidjmalan 6 หลายเดือนก่อน +8

      So glad to hear!

    • @RobertMooney-ut7cc
      @RobertMooney-ut7cc 2 หลายเดือนก่อน +1

      Prof. David Malan clearly understands the material at a granular level. His lectures are the absolute best.

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

      Greetings Prof​@@davidjmalan
      I'm Oscar from Uganda, East Africa 😊 but currently studying computer engineering in Tehran, Iran
      My deep heartfelt gratitude to you and the entire team.
      I just started watching the series and I'm a little confused and overwhelmed and need some guidance
      How do you advise me to go about this? I watched the scratch lecture but never downloaded nor did I practice because I thought it wasn't that necessary.
      When do I move on to the next lecture?
      Is it after I've practiced and understood every concept covered in one lecture or how exactly do I move on? I badly wanna learn and get a good grasp of these concepts.
      ThanK you Professor

  • @yapdog
    @yapdog 9 หลายเดือนก่อน +93

    I've been coding in C professionally for over 30 years, and I *still* prefer a good GUI over a CLI. So, if you find that you, too, prefer a GUI, don't let that discourage you. Just following along with these carefully constructed lessons, but feel free to use the GUI to accomplish the same tasks whenever you want. And hold your head up high. All that matters is that you get the job done, done on time, and done right.

    • @Piratagorranegra
      @Piratagorranegra 7 หลายเดือนก่อน +1

      30 years wow . that's great. help me out. @1:41:41

    • @yapdog
      @yapdog 7 หลายเดือนก่อน +1

      @@Piratagorranegra What part are you having trouble with, the:
      print("%i
      ", add(x, y));
      line?

    • @Piratagorranegra
      @Piratagorranegra 7 หลายเดือนก่อน +2

      @@yapdog on line 16 I have an open bracket and it's giving me error expected identifier or c' { and has green arrow pointing to the bracket.

    • @yapdog
      @yapdog 7 หลายเดือนก่อน +2

      @@Piratagorranegra let me see the code; just paste it here.

    • @Piratagorranegra
      @Piratagorranegra 7 หลายเดือนก่อน +1

      @@yapdog 1 #include
      2 #include
      3
      4 int add(int a, int b);
      5
      6 int main (void)
      7 {
      8 int x = get_int (" x: ");
      9 int y = get_int ( "y: ");
      10
      11 int z = add (x,y);
      12 printf ("%i
      ", z);
      13}
      14
      15 int add(int a, int b);
      16 {
      17 return a + b;
      18 }

  • @DanielD2724
    @DanielD2724 10 หลายเดือนก่อน +40

    The best CS course with the best teacher!

  • @veronicasmemories
    @veronicasmemories 7 หลายเดือนก่อน +12

    wow, it took me 3 days and a handful of error messages to get through this lecture. I'm v excited to take this course. Thank you for making it available to the public

    • @ZeynepAkyuz-ge6nu
      @ZeynepAkyuz-ge6nu 5 หลายเดือนก่อน

      Hey Veronica, I guess same here. Did you ever get an error message about the word 'make' right at the beginning?

  • @KarthikKamarajugadda-e3h
    @KarthikKamarajugadda-e3h 5 หลายเดือนก่อน +10

    just finished the lecture.. It literally took me more than 3 weeks, on and off due to my college work....I enjoyed it and looking forward to complete the other lectures and their problem sets as well...
    CS50 is a masterpiece

  • @VivekKumar-zb2sx
    @VivekKumar-zb2sx 27 วันที่ผ่านมา +2

    Amazing lecture Devid. Even my college professor took around 1.5 month to teach all of these concepts which you have teached in just 2.5 hours. Thank you.

  • @cecilbrews
    @cecilbrews 10 หลายเดือนก่อน +18

    I'm so glad I discovered this course, he is an awesome teacher, `
    he makes the fundamentals so interesting and clear, it's helping me a lot

  • @yufeiyan-e3h
    @yufeiyan-e3h 9 หลายเดือนก่อน +46

    I watched the CS50 2023 edition, and the instructor, David, presented a more structured and cohesive logic in this 2024 lecture, making it more easily understandable for beginners like me. I am truly grateful for David and his team!

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

      what makes this one less clear

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

      @@rubii3421 read him once again

    • @lJONNYDOOMl
      @lJONNYDOOMl 4 หลายเดือนก่อน +6

      @@rubii3421 homie literally said this one is easily more understandable lol

  • @HIZ3N
    @HIZ3N 10 หลายเดือนก่อน +34

    Finally the new CS50X is out, was watching the live stream version until now. Thank you Professor David Malan and team for this.

  • @Ikigai-gg1wx
    @Ikigai-gg1wx 9 หลายเดือนก่อน +12

    i love his energy. I love learning from this man.

    • @Piratagorranegra
      @Piratagorranegra 7 หลายเดือนก่อน +1

      for sure for sure he is passionate about C. and I love the vibe for sure for sure he is a great teacher.

  • @Nillipilli
    @Nillipilli 8 หลายเดือนก่อน +3

    Great lecture/r! Even though I am studying this subject now for 3 years it is great to listen to different approaches to explain some of the concepts. Great energy of the teacher, keep up the good work! :)

  • @Ahmad-yi6d
    @Ahmad-yi6d 2 หลายเดือนก่อน +1

    I have never seen any teacher that much eager to answer students questions.
    He is really ❤❤❤

  • @suneelbhat4677
    @suneelbhat4677 6 หลายเดือนก่อน +11

    Absolutely a great resource. Any one with any background can jump to CS by this kind of resource...... Thank you so much from India........There are some idiots who are doing videos saying "Why not to go for cs50", just to get some vews.

    • @Ahmad-yi6d
      @Ahmad-yi6d 2 หลายเดือนก่อน

      Agreed 😊

  • @aasrp661
    @aasrp661 5 หลายเดือนก่อน +3

    I'm so smart thanks to you. I have little nephews back in India and it makes me cry to see how much more opportunities they will have 😃

  • @DusKed
    @DusKed 4 หลายเดือนก่อน +2

    Some of the best lectures I've ever seen, super grateful to have the ability to watch these! Thank you!

  • @SpaceCraftToBeyond
    @SpaceCraftToBeyond 5 หลายเดือนก่อน +7

    Estoy tomando este curso para por fin aprender código y darle un giro diferente a mi vida y mi carrera.

    • @giantorres3352
      @giantorres3352 5 หลายเดือนก่อน +1

      yo iigual bro, suerte

    • @KevinMtutoriales
      @KevinMtutoriales 22 วันที่ผ่านมา +1

      exitos maestro aguila genio fenomeno crack

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

    I am SO grateful for having the visual representation you included. I never realized I am in fact a visual learner until now.

  • @이이이-g4f2y
    @이이이-g4f2y 6 หลายเดือนก่อน +21

    If you're watching this after Lecture 0, consider yourself lucky to found CS50, and luckier to have completed the first lecture and moved on to the second. To Seize that huge amount of fortune, quickly return to the lecture!

  • @IbrahimAlameen
    @IbrahimAlameen 22 วันที่ผ่านมา +1

    This is the biggest opportunity to learn programming❤. All thanks to Prof and team. We're learning

  • @theguypersondude
    @theguypersondude 10 หลายเดือนก่อน +7

    Great start of the new year to drop 12 CS classes all in the same day. Time to learn!

  • @koijoijoe
    @koijoijoe 10 หลายเดือนก่อน +14

    Happy new year David Malan and CS50 team!

  • @AmericanJediMama
    @AmericanJediMama 3 หลายเดือนก่อน +6

    Being a 53yr old student (pre req for AI class), I really appreciated the video game, y2k, and (WOW!) Boeing real world examples of the implication of code written with care, esp. in regards to efficiency!

    • @jerryjohnson414
      @jerryjohnson414 3 หลายเดือนก่อน +4

      50+ as well! 🎉

    • @Leah-u1g6y
      @Leah-u1g6y หลายเดือนก่อน

      What AI class?

  • @sergeivanov-x7q
    @sergeivanov-x7q 7 วันที่ผ่านมา

    i tried code 1 year ago i started with python gave up found this chanell from code camp and learned so much more and are now learning C

  • @quang.luu.179
    @quang.luu.179 5 หลายเดือนก่อน +1

    The best CS course with the best teacher!

  • @yesdoeee
    @yesdoeee 9 หลายเดือนก่อน +5

    I love these lectures they just keep getting better every year🙌🤙

  • @kritimisra-ez6rn
    @kritimisra-ez6rn 5 หลายเดือนก่อน +1

    If I had got a teacher like that with so much energy I would be happy to learn anything

  • @JonahDorsky-i3q
    @JonahDorsky-i3q 7 หลายเดือนก่อน

    The introduction is really good.. One of the best parts of the online lecture

  • @l30n.marin3r0
    @l30n.marin3r0 10 หลายเดือนก่อน +9

    For anybody curious enough:
    You can print your history of commands and pipe its result to grep and look for any command that you wrote that contains the string passed to grep
    So lets say you mv a file named duck.txt and you don't remember where you put it:
    history | grep duck.txt
    That should return the whole command in which duck.txt was used.

    • @АндрейМаксименя
      @АндрейМаксименя 9 หลายเดือนก่อน

      Thanks for an example. Didn't think about that one. Actually, not really good with grep and find for some reason. Constantly mix them up.

    • @l30n.marin3r0
      @l30n.marin3r0 9 หลายเดือนก่อน

      I can never find anything in my laptop for some reason xD
      I usually use locate but doesn't really work and I haven't got around installing whereis
      You are welcome!
      @@АндрейМаксименя

  • @giantorres3352
    @giantorres3352 4 หลายเดือนก่อน +3

    Guys, you have to do it with the free notes and problems in their website. This is my second time watching, after doing everything in the course notees and it is making so much sense now.

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

      Hy is this enough to learn c then why all youtubers spending 10hrs of time to teach c lang? Pls reply

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

      @@Pranitha63 I think this is enough to learn the basics of cs, but yeah not enough to learn C.

    • @rokypaul3675
      @rokypaul3675 3 หลายเดือนก่อน +1

      @@Pranitha63 it is not enough ..it is just basics of c ..fool

  • @SyariefAzman
    @SyariefAzman 2 หลายเดือนก่อน +1

    ahh I've never been so attached to a lecture video till i joined cs50. its magical how can i watch this in focus 2 hour straight and understand almost everything . 😂

  • @林芷君-t2h
    @林芷君-t2h 3 หลายเดือนก่อน +6

    Note:
    1. Machine code: binary langauge
    2. A programmer writes "source code." (higher level)
    3. A program "compiler" translate our source code to machine code.
    4. "scope" means "context in which variables exist"

  • @GabrielaManrique
    @GabrielaManrique 10 หลายเดือนก่อน +6

    What an amazing teacher and team! Another year grateful to be quacking along with you guys! Greetings from Perú !! 💻🐤

  • @prathamgupta06
    @prathamgupta06 5 หลายเดือนก่อน +1

    starting this beautiful series now, will look back in this comment when I become a software specialist. Thank you so much CS50 LOVED IT❤❤

  • @robertdiasmelo
    @robertdiasmelo 15 วันที่ผ่านมา

    Robert from Brasil here! 😎Another lecture completed!!!

  • @sitembekilekhumalo8235
    @sitembekilekhumalo8235 7 หลายเดือนก่อน +1

    Thank you Prof.Malan I am just starting C programming

  • @jagsnetflix
    @jagsnetflix 6 หลายเดือนก่อน +1

    I just loveeee this course!!! Thanks Harvard and Professor Malan!

  • @cameronvincent
    @cameronvincent 10 หลายเดือนก่อน +5

    Talk about a way to start the year!

  • @MH-lr6ue
    @MH-lr6ue 6 หลายเดือนก่อน +3

    This course is very entertaining if your try to retype the code in a editor while viewing. I'm inside Godot retyping examples from the lecture. I'm sure this will help my brain absorb more information. I've learned that I don't know how to get user-typed information in GODOT 4 yet. But I will figure it out.

  • @guhesse
    @guhesse 8 หลายเดือนก่อน +1

    What an incredible teaching. Thx for the course

  • @EnVlogs_.12
    @EnVlogs_.12 12 วันที่ผ่านมา +1

    Woah ! The end was amazing .. enjoyed it .. 👏🎉

  • @baozhiguo2875
    @baozhiguo2875 10 หลายเดือนก่อน +2

    I pretty love this new intro ,very impressiive!

  • @heltongomes526
    @heltongomes526 5 หลายเดือนก่อน +1

    Amazing course, thanks from Brazil, Recife!

  • @swift.academy.education
    @swift.academy.education 5 หลายเดือนก่อน +2

    The lecture was engaging, well-structured, and provided a solid foundation for understanding fundamental programming concepts. The instructor’s ability to break down complex topics into manageable and relatable segments was particularly impressive. It’s clear that this university is committed to equipping its students with the skills and knowledge necessary to excel in the tech industry.

  • @YHChang-we2jw
    @YHChang-we2jw 2 หลายเดือนก่อน

    Very clear instructions for beginner 👍love it~ thanks million ☺️

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

    1:23:45 omg the visuals make things so much easier to understand thank you!

  • @germank.o.6468
    @germank.o.6468 10 หลายเดือนก่อน +3

    Love the opening theme. 007 finally is going cyber

  • @jeanoliveira4832
    @jeanoliveira4832 10 หลายเดือนก่อน +4

    I feel good when students ask questions. 🥰

  • @mohamedmostafa1912
    @mohamedmostafa1912 9 หลายเดือนก่อน +1

    david the best instructor ever

  • @utkarshkumar274
    @utkarshkumar274 หลายเดือนก่อน +1

    Simply Amazing!

  • @Rahul-rawat-01
    @Rahul-rawat-01 10 หลายเดือนก่อน +3

    Happy New year everyone and team CS50X . Mark your present if u are starting it from 1/1/24

  • @eugeneeugenee8185
    @eugeneeugenee8185 10 หลายเดือนก่อน +6

    This intro is a masterpiece!
    Аt the end I expected the duck to shoot at me like in the Bond 007 films )

    • @divya_25_06
      @divya_25_06 6 หลายเดือนก่อน +1

      Golden gun 😂

  • @dirceufrare8022
    @dirceufrare8022 9 หลายเดือนก่อน +1

    are we not gonna talk about this introduction that should win more spotlight here?

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

    After Justice course I found CS50 and it's just as well produced, so it really helps in engaging, even though I wasnt intending to go with C, but to start from scratch once again it's a great presentation before jumping right into Python conveniences 🐍

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

    This legend is a gift to humanity

  • @l30n.marin3r0
    @l30n.marin3r0 10 หลายเดือนก่อน +1

    I finally understand how things execute in the command line and why you have to indicate the program to go up one folder and then run the program from the 'outside'
    So when we are in the terminal, when we 'enter' commands such ls, cd, grep or whatever, we are telling the computer to execute a program in one of the folders in our path, if we want to run an executable file, we would have to add it to our path and possibly give it an alias, maybe even make a .desktop file to it or we can:
    Go up one folder with '.'
    Go in the folder that contains the executable file with '/'
    Execute the file by calling it by name was we would a function inside a script.
    At the very least, that's my take on it.

    • @paolaReina9684
      @paolaReina9684 10 หลายเดือนก่อน +1

      Apparently much of the commands used in this course are use in linux as well. I think there is a course called Library Carpentry and its pretty much a course on how to use the Linux Terminal.

    • @logaspam
      @logaspam 10 หลายเดือนก่อน +1

      Very nearly. You're right about it making sure that you specify the local file rather than one that might be found in the path. But the single dot means the current directory, and the slash is just to delimit each element in the path. So rather than up-one and down-one "./" Just means the current folder and "./program" means the file program in the current folder.
      You can do "cd ." and check that it leaves you in the same folder as you were before.

    • @l30n.marin3r0
      @l30n.marin3r0 10 หลายเดือนก่อน

      love you bro, thanks!
      @@logaspam

    • @l30n.marin3r0
      @l30n.marin3r0 10 หลายเดือนก่อน

      Thank you!@@paolaReina9684

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

      can you help with one thing. Commands that Profs is using (make hello.c and clang hello.c in the next video) to run and compile the program are not found in my terminal. Why is that? and by the way there is no $ sign at the begining there is a path that leads to my folder.

  • @friendlyneighborhooddm6330
    @friendlyneighborhooddm6330 5 วันที่ผ่านมา

    Another, more grim, example of the dangers of integer overflow is the THERAC-25. One of the software errors, out of many, was a flag variable that can overflow and reset back to 0. Which allowed the continued use of the machine, resulting in injuries and 3 deaths.

  • @sempiKumari-u8m
    @sempiKumari-u8m 2 หลายเดือนก่อน

    this session is really gorgeous

  • @adityamittal123
    @adityamittal123 10 หลายเดือนก่อน +3

    1:06:33 There is a principal in life and programming and that is don't repeat yourself unnecessarily.

  • @jjpp1993
    @jjpp1993 5 หลายเดือนก่อน +1

    such great energy, to anyone watching this is way more valuable than bitcoin.

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

    Thank you Pr Malan ! I hope to see you soon in October in Harvard 😊

  • @Khalid-ll1hh
    @Khalid-ll1hh 10 หลายเดือนก่อน +4

    The best intro for a course. Or "The first cinematic intro for a course in the whole world" #CS50

  • @sulikns4152
    @sulikns4152 9 หลายเดือนก่อน +1

    Great David! thanx for all

  • @Md.MaidulIslam-r4t
    @Md.MaidulIslam-r4t 7 หลายเดือนก่อน

    Impressive lecture. thanks cs50💛

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

    For a complete beginner, lecture one was a lot to take in, but easy non the less once you've done an in depth study after.

  • @OfficialCodeVoyage
    @OfficialCodeVoyage 10 หลายเดือนก่อน +3

    I wish everyone of you luck and enjoyment of this great course. There is no better course for intro to CS than this!

  • @YourFriendlyGymRat
    @YourFriendlyGymRat 2 หลายเดือนก่อน +5

    As complete beginner , learning all this concepts in a row is super confusing , I know this is an introduction to CS and it's not supposed to be in Depth in every single subject but man we went from 20% to 80% speed from week 1- week 2 in the blink of a eye, the 700 IQ nerds inside the class don't help either they just make me feel more stupid responding questions that I wouldn't have figured out by myself in a whole years .
    The teacher David J. Malan is also great , good energy and excitement but I wouldn't say for sure this course is for complete noobs like me , I've rewatched this almost 3 hours long video like 3 times and I still have stop the video in certain concepts , but maybe it's just me , this is for Harvard's students after all.

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

      Broo i feel you 🙂

  • @aasrp661
    @aasrp661 3 หลายเดือนก่อน +1

    My nephews inside of India love this guy 😁🙃

  • @workspace.shuvo.sarkar
    @workspace.shuvo.sarkar หลายเดือนก่อน

    I just became a fan of David Malan Sir!

  • @ProudyShankalpa
    @ProudyShankalpa 6 หลายเดือนก่อน +2

    no complains absolute masterpiece

  • @riyajath_hmd
    @riyajath_hmd 10 หลายเดือนก่อน +2

    Yep! Completed week 1 today.

  • @jameswiggle
    @jameswiggle 10 หลายเดือนก่อน +1

    i watch these every year and never move on. lol

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

    The last 10 minutes were very impressive.

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

    That was fast ❤ good luck to every one.

  • @Infinity-times
    @Infinity-times 19 วันที่ผ่านมา

    simplicity at it's peak.

  • @prasadsuryawanshi5516
    @prasadsuryawanshi5516 4 หลายเดือนก่อน +15

    If you are from non english speaking country and find david superfast while teaching try reducing speed to 0.75 👌👌👌thank me later

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

      I'm from india and i would prefer to turn on the subtitles.

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

      Frfrfr with subtitles

    • @Chaudhary.__.Alok.
      @Chaudhary.__.Alok. หลายเดือนก่อน

      ​​@@_mykitchen2301right..

  • @TheStormer20
    @TheStormer20 8 หลายเดือนก่อน +10

    This one felt so much harder than the first scratch lesson damn

    • @prof-pras
      @prof-pras 3 หลายเดือนก่อน

      aswrr

    • @d33zknots88
      @d33zknots88 2 หลายเดือนก่อน +1

      @@prof-pras Same here lol, lost braincells over Mario blocks but as u go over it again and again, you understand it better.

    • @prof-pras
      @prof-pras 2 หลายเดือนก่อน

      @@d33zknots88 ukkk

    • @theafricanliberationagency4652
      @theafricanliberationagency4652 2 หลายเดือนก่อน +1

      ​​@@d33zknots88going over it again and again means you watched the video not just once, right?
      And, are you practicing the examples that the prof is doing?(I'm asking for me to figure out how best to grasp the concepts)

    • @d33zknots88
      @d33zknots88 2 หลายเดือนก่อน +1

      @@theafricanliberationagency4652 Yes you go over the parts you dont understand and make sure you taking down notes, then you apply what you've learnt to the exercises the professor has given. Another thing you should also be doing is looking at other peoples work and try to understand their code. To retain what you've learnt you can make up your own scenarios and try to apply as much as you've learnt previously into it, thus solidifying your revision. and main thing is keep coding, you will always learn something new, even at times where you think you know the lesson.

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

    Honestly i have always preferred static typing simply because it helps with debugging a LOT

  • @kitgary
    @kitgary 10 หลายเดือนก่อน +3

    Waiting for the C++ lesson! Would like to learn something more advanced such as template metaprogramming!

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

    Great lesson! That was a lot of information for a newbie like me 😅

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

    Best thumbnail of all time

  • @tinahastamman
    @tinahastamman 4 หลายเดือนก่อน +1

    Heyyy watching this from 2024 ❤

  • @samrudhnayak6482
    @samrudhnayak6482 4 หลายเดือนก่อน +1

    god damnit I just love that intro music!

  • @technofeeliak
    @technofeeliak 14 วันที่ผ่านมา

    So "int" is integer (as always in programming).
    In this case, int is being returned as a value that tells the operating system that the function has been performed successfully.

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

    Looking forward to the next video

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

    Day-1 : Completed.

  • @CenterZero_DeadSecurity
    @CenterZero_DeadSecurity 9 หลายเดือนก่อน +1

    Linux will always be a must.

  • @marveII0us
    @marveII0us 10 หลายเดือนก่อน +3

    Awesome

  • @Jaydenn_2.0
    @Jaydenn_2.0 10 หลายเดือนก่อน +1

    I love Harvard cs50

  • @PKDB-rk5cb
    @PKDB-rk5cb 8 หลายเดือนก่อน +1

    2.5 hours with a 10 minute break is insane

    • @georgianamariacraciun9311
      @georgianamariacraciun9311 8 หลายเดือนก่อน +3

      I have the feeling that time passes differently when you are there. I would definitively be so absorbed by what he says, that I would not mind the time. For the teacher though it must feel like a full body workout :))) We also don't know how long the break is between different classes.

  • @eonnui
    @eonnui 10 หลายเดือนก่อน +1

    Happy New Year 01/01/24

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

    So excited !!!!!🎉

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

    Awesome lecture!!!