CS50x 2024 - Lecture 1 - C

  Рет қаралды 1,052,631

CS50

CS50

Күн бұрын

Пікірлер: 585
@andythomas4642
@andythomas4642 10 ай бұрын
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 10 ай бұрын
Can you tell me what you did after the CS50 course? What languages did you learn?
@norwyx3669
@norwyx3669 9 ай бұрын
@@mskadwa yes
@BerekeTSame
@BerekeTSame 8 ай бұрын
Please tell us so they can too?
@JohnSmith-tk7nt
@JohnSmith-tk7nt 7 ай бұрын
@@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
@tomasb3191
@tomasb3191 10 ай бұрын
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 10 ай бұрын
Really? I thought it was horrible. Spoke way to fast and failed to elaborate. I feel sorry for the kids.
@tomasb3191
@tomasb3191 10 ай бұрын
@@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 10 ай бұрын
@@tomasb3191 what languages do you speak?, and, what kind of software do you write for pleasure?
@detectivegrumpy4652
@detectivegrumpy4652 10 ай бұрын
@@the-naked-sailor there's a pause button for a reason lol.
@the-naked-sailor
@the-naked-sailor 10 ай бұрын
@@detectivegrumpy4652 lolololoololololololololol...... you idiot. The only reason you see it is because I put it there.
@calebcasual
@calebcasual Ай бұрын
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.
@nunomartins2209
@nunomartins2209 Ай бұрын
Hows ur progress
@JohelSouza
@JohelSouza 10 ай бұрын
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 10 ай бұрын
How that meat taste?
@ApathyGaming01
@ApathyGaming01 9 ай бұрын
@@adan6566 why so mad
@adan6566
@adan6566 9 ай бұрын
@@ApathyGaming01 boffa
@shuri07
@shuri07 9 ай бұрын
Bros probably that person who says "pause" every 2 second.
@adan6566
@adan6566 9 ай бұрын
@@shuri07 🍑💨
@danceplusofficial2107
@danceplusofficial2107 10 ай бұрын
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 10 ай бұрын
thanks mate
@ali_ulug
@ali_ulug 9 ай бұрын
Thank you @@Naveen-ql6ry
@Jameshowardadventures
@Jameshowardadventures 9 ай бұрын
not all heroes wear capes
@kirankour8642
@kirankour8642 6 ай бұрын
Thanks for your help 🙂
@Pranitha63
@Pranitha63 5 ай бұрын
Anyone say this is enough to learn...? Then why all youtubers spending 10hr of time to teach c??
@curdledstraw227
@curdledstraw227 7 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
@@aliti9315 then where can I learn full c course in youtube?
@afrasiyabarain7365
@afrasiyabarain7365 Ай бұрын
​@@Ara-ara-g you should focus on completing this course first.
@yapdog
@yapdog 10 ай бұрын
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 8 ай бұрын
30 years wow . that's great. help me out. @1:41:41
@yapdog
@yapdog 8 ай бұрын
@@Piratagorranegra What part are you having trouble with, the: print("%i ", add(x, y)); line?
@Piratagorranegra
@Piratagorranegra 8 ай бұрын
@@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 8 ай бұрын
@@Piratagorranegra let me see the code; just paste it here.
@Piratagorranegra
@Piratagorranegra 8 ай бұрын
@@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 }
@Porktoe
@Porktoe 6 ай бұрын
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 ай бұрын
So glad to hear!
@RobertMooney-ut7cc
@RobertMooney-ut7cc 2 ай бұрын
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
@simspawn
@simspawn 3 күн бұрын
Food service worker here, Not like I'm sacrificing my body, but my mind and mental health have deff taken a toll. I'm glad we both can work towards career fields that will hopefully do us less harm and grant a better pay. Power brother! If you need any help or advice along th way, I'm just starting the course now but I have a bit of background. Would be interesting who is farther ahead, but even more interesting if we could end up helping each other along the way. Idk what you are planning to do, but I'ma become a game developer. I am constantly both drawn to taking more of the course, and working on the scratch program we started with xD I got really distracted by that for a couple weeks thinking I'd make a whole video game without further education. I could, but honestly it would just be a brag mark under my belt and ultimately slow me down from getting where I'm trying to go. So I'll keep learning for now, and eventually go full dive into game dev. Best of luck in your journey, and I'm very glad to see another working man realize he can escape the BS grind.
@Blezerker
@Blezerker 10 ай бұрын
i LOVE this new intro! gives a great spooky suspensful vibe
@TheLightningYu
@TheLightningYu 10 ай бұрын
I agree, feels like watching a TV Series or so xD
@КккКкк-я8ч
@КккКкк-я8ч 10 ай бұрын
It's similar to the Silo OST for me, at least in a middle
@DanielD2724
@DanielD2724 11 ай бұрын
The best CS course with the best teacher!
@Hexspa
@Hexspa 2 ай бұрын
The learning curve is steep. I watched one time through, but need to watch it again.
@Ikigai-gg1wx
@Ikigai-gg1wx 9 ай бұрын
i love his energy. I love learning from this man.
@Piratagorranegra
@Piratagorranegra 8 ай бұрын
for sure for sure he is passionate about C. and I love the vibe for sure for sure he is a great teacher.
@VivekKumar-zb2sx
@VivekKumar-zb2sx Ай бұрын
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.
@KarthikKamarajugadda-e3h
@KarthikKamarajugadda-e3h 6 ай бұрын
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
@cecilbrews
@cecilbrews 10 ай бұрын
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
@veronicasmemories
@veronicasmemories 7 ай бұрын
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?
@yufeiyan-e3h
@yufeiyan-e3h 10 ай бұрын
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 6 ай бұрын
what makes this one less clear
@iraiseddonut
@iraiseddonut 6 ай бұрын
@@rubii3421 read him once again
@lJONNYDOOMl
@lJONNYDOOMl 5 ай бұрын
@@rubii3421 homie literally said this one is easily more understandable lol
@林芷君-t2h
@林芷君-t2h 4 ай бұрын
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"
@Ahmad-yi6d
@Ahmad-yi6d 3 ай бұрын
I have never seen any teacher that much eager to answer students questions. He is really ❤❤❤
@HIZ3N
@HIZ3N 10 ай бұрын
Finally the new CS50X is out, was watching the live stream version until now. Thank you Professor David Malan and team for this.
@Nillipilli
@Nillipilli 8 ай бұрын
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! :)
@suneelbhat4677
@suneelbhat4677 6 ай бұрын
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 3 ай бұрын
Agreed 😊
@Abhinava_Playz_YT
@Abhinava_Playz_YT 14 күн бұрын
On mac, to compile any code use, clang -o .c On Windows, to compile any code, use gcc -o .c On Linux, to compile any code, use gcc -o .c
@l30n.marin3r0
@l30n.marin3r0 10 ай бұрын
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.
@АндрейМаксименя
@АндрейМаксименя 10 ай бұрын
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 10 ай бұрын
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! @@АндрейМаксименя
@이이이-g4f2y
@이이이-g4f2y 6 ай бұрын
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!
@kritimisra-ez6rn
@kritimisra-ez6rn 5 ай бұрын
If I had got a teacher like that with so much energy I would be happy to learn anything
@aasrp661
@aasrp661 6 ай бұрын
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 5 ай бұрын
Some of the best lectures I've ever seen, super grateful to have the ability to watch these! Thank you!
@yesdoeee
@yesdoeee 10 ай бұрын
I love these lectures they just keep getting better every year🙌🤙
@quang.luu.179
@quang.luu.179 5 ай бұрын
The best CS course with the best teacher!
@AmericanJediMama
@AmericanJediMama 4 ай бұрын
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 ай бұрын
50+ as well! 🎉
@Leah-u1g6y
@Leah-u1g6y 2 ай бұрын
What AI class?
@theguypersondude
@theguypersondude 10 ай бұрын
Great start of the new year to drop 12 CS classes all in the same day. Time to learn!
@AndreaLeganza
@AndreaLeganza 7 күн бұрын
To smooth the learning curve of code i suggest to use breakpoints/debugger asap imho (and not the next lesson), when you explain the if/else if/else: showing the realtime flow of the code when running will help (yes u use flowcharts which i present before code to avoid syntax distraction); before that explanation also when using variables showing what happens row by row at least the first times will help to understand the lifecycle of a variable. I always start with this approach when i teach different programming languages (c, c++, java, koltin, swift, c#, javascript, python, gdscript and others) to avoid using too much printf/cout/etc/console printing and avoiding students using this approach too much which will lead to an excessive use of this techniques (and if not removed properly will give sometimes relevant informations to "curious programmers", we know about who we are talking about).
@alicehofmann1557
@alicehofmann1557 3 ай бұрын
I am SO grateful for having the visual representation you included. I never realized I am in fact a visual learner until now.
@IbrahimAlameen
@IbrahimAlameen Ай бұрын
This is the biggest opportunity to learn programming❤. All thanks to Prof and team. We're learning
@SpaceCraftToBeyond
@SpaceCraftToBeyond 5 ай бұрын
Estoy tomando este curso para por fin aprender código y darle un giro diferente a mi vida y mi carrera.
@giantorres3352
@giantorres3352 5 ай бұрын
yo iigual bro, suerte
@KevinMtutoriales
@KevinMtutoriales Ай бұрын
exitos maestro aguila genio fenomeno crack
@MH-lr6ue
@MH-lr6ue 6 ай бұрын
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.
@giantorres3352
@giantorres3352 5 ай бұрын
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 5 ай бұрын
Hy is this enough to learn c then why all youtubers spending 10hrs of time to teach c lang? Pls reply
@giantorres3352
@giantorres3352 5 ай бұрын
@@Pranitha63 I think this is enough to learn the basics of cs, but yeah not enough to learn C.
@rokypaul3675
@rokypaul3675 4 ай бұрын
@@Pranitha63 it is not enough ..it is just basics of c ..fool
@koijoijoe
@koijoijoe 10 ай бұрын
Happy new year David Malan and CS50 team!
@baja1515
@baja1515 15 күн бұрын
Hello Professor Malan, thank you for sharing these incredible lectures. I’m currently learning English, and the subtitles are very helpful for understanding the content. I would like to download the subtitles for personal use to study the language and review the course materials. They will only be used for my own learning, without being shared elsewhere. Thank you very much.
@davidjmalan
@davidjmalan 15 күн бұрын
Sure, all subtitles are linked at the pages at cs50.harvard.edu/x/2024/weeks/ !
@JonahDorsky-i3q
@JonahDorsky-i3q 7 ай бұрын
The introduction is really good.. One of the best parts of the online lecture
@sergeivanov-x7q
@sergeivanov-x7q 28 күн бұрын
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
@SyariefAzman
@SyariefAzman 3 ай бұрын
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 . 😂
@jagsnetflix
@jagsnetflix 7 ай бұрын
I just loveeee this course!!! Thanks Harvard and Professor Malan!
@guhesse
@guhesse 8 ай бұрын
What an incredible teaching. Thx for the course
@swift.academy.education
@swift.academy.education 5 ай бұрын
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.
@cameronvincent
@cameronvincent 10 ай бұрын
Talk about a way to start the year!
@GabrielaManrique
@GabrielaManrique 10 ай бұрын
What an amazing teacher and team! Another year grateful to be quacking along with you guys! Greetings from Perú !! 💻🐤
@prathamgupta06
@prathamgupta06 6 ай бұрын
starting this beautiful series now, will look back in this comment when I become a software specialist. Thank you so much CS50 LOVED IT❤❤
@baozhiguo2875
@baozhiguo2875 10 ай бұрын
I pretty love this new intro ,very impressiive!
@prasadsuryawanshi5516
@prasadsuryawanshi5516 5 ай бұрын
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 4 ай бұрын
I'm from india and i would prefer to turn on the subtitles.
@TG725
@TG725 3 ай бұрын
Frfrfr with subtitles
@Chaudhary.__.Alok.
@Chaudhary.__.Alok. Ай бұрын
​​@@_mykitchen2301right..
@Rahul-rawat-01
@Rahul-rawat-01 10 ай бұрын
Happy New year everyone and team CS50X . Mark your present if u are starting it from 1/1/24
@heltongomes526
@heltongomes526 6 ай бұрын
Amazing course, thanks from Brazil, Recife!
@YHChang-we2jw
@YHChang-we2jw 3 ай бұрын
Very clear instructions for beginner 👍love it~ thanks million ☺️
@BullCraftMaxx
@BullCraftMaxx 10 ай бұрын
1:23:45 omg the visuals make things so much easier to understand thank you!
@sitembekilekhumalo8235
@sitembekilekhumalo8235 8 ай бұрын
Thank you Prof.Malan I am just starting C programming
@dirceufrare8022
@dirceufrare8022 10 ай бұрын
are we not gonna talk about this introduction that should win more spotlight here?
@adityamittal123
@adityamittal123 10 ай бұрын
1:06:33 There is a principal in life and programming and that is don't repeat yourself unnecessarily.
@EnVlogs_.12
@EnVlogs_.12 Ай бұрын
Woah ! The end was amazing .. enjoyed it .. 👏🎉
@l30n.marin3r0
@l30n.marin3r0 10 ай бұрын
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 ай бұрын
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 ай бұрын
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 8 ай бұрын
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.
@robertdiasmelo
@robertdiasmelo Ай бұрын
Robert from Brasil here! 😎Another lecture completed!!!
@utkarshkumar274
@utkarshkumar274 2 ай бұрын
Simply Amazing!
@mohamedmostafa1912
@mohamedmostafa1912 10 ай бұрын
david the best instructor ever
@jeanoliveira4832
@jeanoliveira4832 10 ай бұрын
I feel good when students ask questions. 🥰
@Khalid-ll1hh
@Khalid-ll1hh 10 ай бұрын
The best intro for a course. Or "The first cinematic intro for a course in the whole world" #CS50
@YourFriendlyGymRat
@YourFriendlyGymRat 3 ай бұрын
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 3 ай бұрын
Broo i feel you 🙂
@germank.o.6468
@germank.o.6468 10 ай бұрын
Love the opening theme. 007 finally is going cyber
@jjpp1993
@jjpp1993 6 ай бұрын
such great energy, to anyone watching this is way more valuable than bitcoin.
@sulikns4152
@sulikns4152 9 ай бұрын
Great David! thanx for all
@eugeneeugenee8185
@eugeneeugenee8185 10 ай бұрын
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 7 ай бұрын
Golden gun 😂
@EsquireR
@EsquireR 4 ай бұрын
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 🐍
@friendlyneighborhooddm6330
@friendlyneighborhooddm6330 25 күн бұрын
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.
@jameswiggle
@jameswiggle 10 ай бұрын
i watch these every year and never move on. lol
@technofeeliak
@technofeeliak Ай бұрын
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.
@OfficialCodeVoyage
@OfficialCodeVoyage 10 ай бұрын
I wish everyone of you luck and enjoyment of this great course. There is no better course for intro to CS than this!
@Md.MaidulIslam-r4t
@Md.MaidulIslam-r4t 8 ай бұрын
Impressive lecture. thanks cs50💛
@SheLikeTheWayThatIWoo
@SheLikeTheWayThatIWoo 4 ай бұрын
This legend is a gift to humanity
@sempiKumari-u8m
@sempiKumari-u8m 3 ай бұрын
this session is really gorgeous
@kitgary
@kitgary 10 ай бұрын
Waiting for the C++ lesson! Would like to learn something more advanced such as template metaprogramming!
@QueenM19
@QueenM19 3 ай бұрын
Thank you Pr Malan ! I hope to see you soon in October in Harvard 😊
@d33zknots88
@d33zknots88 3 ай бұрын
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.
@aasrp661
@aasrp661 3 ай бұрын
My nephews inside of India love this guy 😁🙃
@regularnick
@regularnick 5 ай бұрын
I am very interested in why don't they use C++ to teach these things instead of plain C? Is it a problem of unnecessary complications it comes with? Cause now course is kinda leaned towards functional or even just procedural programming
@antologicoreptil
@antologicoreptil 9 ай бұрын
Best thumbnail of all time
@MiserableChocolate9
@MiserableChocolate9 5 ай бұрын
Great lesson! That was a lot of information for a newbie like me 😅
@nitinjaiswal844
@nitinjaiswal844 9 ай бұрын
Looking forward to the next video
@TheStormer20
@TheStormer20 9 ай бұрын
This one felt so much harder than the first scratch lesson damn
@prof-pras
@prof-pras 4 ай бұрын
aswrr
@d33zknots88
@d33zknots88 3 ай бұрын
@@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 3 ай бұрын
@@d33zknots88 ukkk
@theafricanliberationagency4652
@theafricanliberationagency4652 2 ай бұрын
​​@@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 ай бұрын
@@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.
@simspawn
@simspawn 3 күн бұрын
When introducing the repeat function via variable, is there specific reason you use reduction on the variable rather than incremental increase? I.E. is there a reason you count down from three to 0 rather than count up from 0 to 3 Or is that a style choice?
@riyajath_hmd
@riyajath_hmd 10 ай бұрын
Yep! Completed week 1 today.
@Neoracu
@Neoracu 10 ай бұрын
I wonder how many miles David scores while going from the computer to the screen in a session, very smart way to keep himself fit.
@marveII0us
@marveII0us 10 ай бұрын
Awesome
@DomoArigoato
@DomoArigoato 6 ай бұрын
I will learn to code, so I may do some good in this world. Remember this? Okay me version who's reading this later. ❤
@workspace.shuvo.sarkar
@workspace.shuvo.sarkar Ай бұрын
I just became a fan of David Malan Sir!
@TheRoundCity04
@TheRoundCity04 10 ай бұрын
That was fast ❤ good luck to every one.
@AndrewVaillant
@AndrewVaillant 18 күн бұрын
I love you David!
@vibe3830
@vibe3830 10 ай бұрын
So excited !!!!!🎉
@ProudyShankalpa
@ProudyShankalpa 7 ай бұрын
no complains absolute masterpiece
@PKDB-rk5cb
@PKDB-rk5cb 8 ай бұрын
2.5 hours with a 10 minute break is insane
@georgianamariacraciun9311
@georgianamariacraciun9311 8 ай бұрын
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.
@CodeX3253
@CodeX3253 Ай бұрын
Honestly i have always preferred static typing simply because it helps with debugging a LOT
@CenterZero_DeadSecurity
@CenterZero_DeadSecurity 10 ай бұрын
Linux will always be a must.
CS50x 2024 - Lecture 2 - Arrays
2:12:04
CS50
Рет қаралды 474 М.
Computer Scientist Answers Computer Questions From Twitter
14:27
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 4,7 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 135 МЛН
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 141 М.
FAS Generative AI Faculty Show & Tell: Prof. David Malan, "Using CS50's AI-based Software"
15:32
Harvard Faculty of Arts and Sciences
Рет қаралды 6 М.
CS50x 2024 - Lecture 7 - SQL
2:14:05
CS50
Рет қаралды 517 М.
CS50x 2024 - Lecture 0 - Scratch
2:04:55
CS50
Рет қаралды 1,5 МЛН
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
CS50x 2024 - Lecture 3 - Algorithms
2:02:12
CS50
Рет қаралды 350 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН