CS50x 2024 - Lecture 2 - Arrays

CS50 January 1, 2024
Video Thumbnail
CS50 Logo

CS50

@cs50

About

This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. Demanding, but definitely doable. Social, but educational. A focused topic, but broadly applicable skills. CS50 is the quintessential Harvard course.

Video Description

*** This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. *** TABLE OF CONTENTS 00:00:00 - Introduction 00:01:01 - Story Time 00:06:03 - Compiling 00:28:40 - Debugging 00:47:27 - Memory 00:52:37 - scores.c 00:57:39 - Arrays 01:13:59 - Strings 01:33:12 - String Length 01:44:33 - uppercase.c 01:50:05 - Command-line Arguments 01:57:58 - Cowsay 01:59:44 - Exit Status 02:05:48 - Cryptography *** HOW TO SUBSCRIBE http://www.youtube.com/subscription_center?add_user=cs50tv HOW TO TAKE CS50 edX: https://cs50.edx.org/ Harvard Extension School: https://cs50.harvard.edu/extension Harvard Summer School: https://cs50.harvard.edu/summer OpenCourseWare: https://cs50.harvard.edu/x HOW TO JOIN CS50 COMMUNITIES Discord: https://discord.gg/cs50 Ed: https://cs50.harvard.edu/x/ed Facebook Group: https://www.facebook.com/groups/cs50/ Faceboook Page: https://www.facebook.com/cs50/ GitHub: https://github.com/cs50 Gitter: https://gitter.im/cs50/x Instagram: https://instagram.com/cs50 LinkedIn Group: https://www.linkedin.com/groups/7437240/ LinkedIn Page: https://www.linkedin.com/school/cs50/ Medium: https://cs50.medium.com/ Quora: https://www.quora.com/topic/CS50 Reddit: https://www.reddit.com/r/cs50/ Slack: https://cs50.edx.org/slack Snapchat: https://www.snapchat.com/add/cs50 SoundCloud: https://soundcloud.com/cs50 Stack Exchange: https://cs50.stackexchange.com/ TikTok: https://www.tiktok.com/@cs50 Twitter: https://twitter.com/cs50 YouTube: http://www.youtube.com/cs50 HOW TO FOLLOW DAVID J. MALAN Facebook: https://www.facebook.com/dmalan GitHub: https://github.com/dmalan Instagram: https://www.instagram.com/davidjmalan/ LinkedIn: https://www.linkedin.com/in/malan/ Quora: https://www.quora.com/profile/David-J-Malan TikTok: https://www.tiktok.com/@davidjmalan Twitter: https://twitter.com/davidjmalan *** CS50 SHOP https://cs50.harvardshop.com/ *** LICENSE CC BY-NC-SA 4.0 Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License https://creativecommons.org/licenses/by-nc-sa/4.0/ David J. Malan https://cs.harvard.edu/malan [email protected]

Boost Your Coding Skills

AI-recommended products based on this video

Loading...
Duracell Coppertop AAA Batteries with Power Boost Ingredients, 24 Count Pack Triple A Battery with Long-Lasting Power, Alkaline AAA Battery for Household and Office Devices

Duracell Coppertop AAA Batteries with Power Boost Ingredients, 24 Count Pack Triple A Battery with Long-Lasting Power, Alkaline AAA Battery for Household and Office Devices

(115,240)
$18.64$14.98
FREE delivery Tue, Dec 30 on $35 of items shipped by Amazon
100K+ bought in past month
Loading...
Duracell Coppertop AA Batteries with Power Boost Ingredients, 24 Count Pack Double A Battery with Long-lasting Power, Alkaline AA Battery for Household and Office Devices

Duracell Coppertop AA Batteries with Power Boost Ingredients, 24 Count Pack Double A Battery with Long-lasting Power, Alkaline AA Battery for Household and Office Devices

(129,106)
$18.65$17.33
FREE delivery Tue, Dec 30 on $35 of items shipped by Amazon
100K+ bought in past month
Loading...
Bikini Trimmer for Women - Painless Electric Razors for Silk Skin,Cordless Body Shaver for Trip,Replaceable Lady Facial Razor, IPX7 Waterproof&Easy Cleaning, Ceramic Blade, USB Charge Dock Pink

Bikini Trimmer for Women - Painless Electric Razors for Silk Skin,Cordless Body Shaver for Trip,Replaceable Lady Facial Razor, IPX7 Waterproof&Easy Cleaning, Ceramic Blade, USB Charge Dock Pink

(8,052)
$24.99
FREE delivery Sun, Dec 28 on $35 of items shipped by Amazon
20K+ bought in past month
Loading...
Piano Keyboard Stickers for 88/61/54/49/37 Key, Bold Large Letter Piano Stickers for Learning, Removable Piano Keyboard Letters, Notes Label for Beginners and Kids, Multicolor

Piano Keyboard Stickers for 88/61/54/49/37 Key, Bold Large Letter Piano Stickers for Learning, Removable Piano Keyboard Letters, Notes Label for Beginners and Kids, Multicolor

(14,029)
$6.99
FREE delivery Thu, Sep 4 on $35 of items shipped by Amazon
6K+ bought in past month
Loading...
Anker Power Bank(PowerCore 10K),Compact Travel-Ready 10,000mAh Battery Pack with PowerIQ Charging Technology,5V/3A High-Speed Charging for iPhone,iPad,and More (USB-C Input and Output(Black),1pack) ClimatePartner certified

Anker Power Bank(PowerCore 10K),Compact Travel-Ready 10,000mAh Battery Pack with PowerIQ Charging Technology,5V/3A High-Speed Charging for iPhone,iPad,and More (USB-C Input and Output(Black),1pack) ClimatePartner certified

(109,961)
$17.99$17.81
FREE delivery Fri, Aug 8 on $35 of items shipped by Amazon
10K+ bought in past month
Loading...
ZealSound Gaming Microphone Kit,Podcast Condenser USB Mic with Boom Arm,Supercardioid Microphone with Mute Button,Echo Volume Gain Knob,Adjust Monitor for Phone PC Computer (Black)

ZealSound Gaming Microphone Kit,Podcast Condenser USB Mic with Boom Arm,Supercardioid Microphone with Mute Button,Echo Volume Gain Knob,Adjust Monitor for Phone PC Computer (Black)

(770)
41.99
PrimeFREE delivery Saturday, June 14
200+ bought in past month
Loading...
MSI Forge GK310 RED US - Mechanical Keyboard, HOT SWAPPABLE, RED SWITCHES, RGB, Ergonomic, Anti-GHOSTING, Angle-Adjustable (Black)

MSI Forge GK310 RED US - Mechanical Keyboard, HOT SWAPPABLE, RED SWITCHES, RGB, Ergonomic, Anti-GHOSTING, Angle-Adjustable (Black)

(30)
49.99
FREE delivery Saturday, June 14
Loading...
DTECH HDMI to VGA Adapter Cable for Computer Monitor PC TV 1080P HD Video (Male HDMI Input to VGA Output Female Connector)

DTECH HDMI to VGA Adapter Cable for Computer Monitor PC TV 1080P HD Video (Male HDMI Input to VGA Output Female Connector)

(40)
3.49
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
Loading...
Lenovo Ideapad Laptop, 15.6" Touchscreen FHD Computer, Intel 10-Core i5-1235U (Beat i7-1195G7), 40GB DDR4 RAM, 2TB PCIe SSD, WiFi 6, Type-C, HDMI, Abyss Blue, Windows 11 Pro S, BEF-ectoy Cable

Lenovo Ideapad Laptop, 15.6" Touchscreen FHD Computer, Intel 10-Core i5-1235U (Beat i7-1195G7), 40GB DDR4 RAM, 2TB PCIe SSD, WiFi 6, Type-C, HDMI, Abyss Blue, Windows 11 Pro S, BEF-ectoy Cable

(11)
$699.99
FREE delivery Jun 17 - 20
Loading...
UGREEN Magnetic USB C to 3.5mm Audio Adapter and Charger 2 in 1 Hi-Res 32bit/384kHz Aux to USB C with PD 60W Fast Charging Dongle Cable for iPhone 16/15 Pro Max, Galaxy S25Ultra, Pixel 9, iPad Pro/Air

UGREEN Magnetic USB C to 3.5mm Audio Adapter and Charger 2 in 1 Hi-Res 32bit/384kHz Aux to USB C with PD 60W Fast Charging Dongle Cable for iPhone 16/15 Pro Max, Galaxy S25Ultra, Pixel 9, iPad Pro/Air

(1,308)
19.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
1K+ bought in past month
Loading...
UGREEN USB C to USB Hub with 4 USB 3.0, Powered USB C Splitter for Laptop, MacBook Pro, Mac mini M4, iMac, iPad Pro, Chromebook, Dell XPS, Galaxy S23, and More, 0.5FT

UGREEN USB C to USB Hub with 4 USB 3.0, Powered USB C Splitter for Laptop, MacBook Pro, Mac mini M4, iMac, iPad Pro, Chromebook, Dell XPS, Galaxy S23, and More, 0.5FT

(12,070)
9.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
400+ bought in past month
Loading...
UGREEN USB C Hub 10Gbps, 4 Ports USB 3.2 HUB with 2 USB-C 3.2 and 2 USB-A 3.2, USB Port Extender for MacBook Pro, MacBook Air, Acer Aspire, HP Laptops, iPad Pro, iPhone 15/15 Pro Max and More

UGREEN USB C Hub 10Gbps, 4 Ports USB 3.2 HUB with 2 USB-C 3.2 and 2 USB-A 3.2, USB Port Extender for MacBook Pro, MacBook Air, Acer Aspire, HP Laptops, iPad Pro, iPhone 15/15 Pro Max and More

(1,021)
19.99
PrimeFREE delivery Saturday, June 14 on orders shipped by Amazon over $35
50+ bought in past month