CS50x 2025 – Lecture 1 – C



***

C. Source Code. Machine Code. Compiler. Correctness, Design, Style. Visual Studio Code. Syntax Highlighting. Escape Sequences. Header Files. Libraries. Manual Pages. Types. Conditionals. Variables. Loops. Linux. Graphical User Interface (GUI). Command-Line Interface (CLI). Constants. Comments. Pseudocode. Operators. Integer Overflow. Floating-Point Imprecision.

***

TABLE OF CONTENTS

00:00:00 – Introduction
00:01:15 – Source Code
00:04:59 – Visual Studio Code for CS50
00:08:34 – Hello, World
00:18:39 – From Scratch to C
00:25:42 – Header Files
00:29:10 – CS50 Manual Pages
00:32:18 – Hello, You
00:42:31 – Terminal Commands
00:51:06 – Types
00:52:24 – Conditionals
01:00:05 – Variables
01:02:50 – compare.c
01:16:34 – agree.c
01:23:26 – Loops
01:24:41 – cat.c
01:41:55 – Functions
01:56:36 – Correctness, Design, Style
01:58:33 – Mario
02:12:11 – calculator.c
02:20:04 – Integer Overflow
02:22:53 – Boeing
02:24:42 – Pacman
02:25:25 – Truncation
02:27:17 – Type Casting
02:30:10 – Floating-Point Imprecision

***

This is CS50, Harvard University’s introduction to the intellectual enterprises of computer science and the art of programming.

***

HOW TO SUBSCRIBE

HOW TO TAKE CS50

edX:
Harvard Extension School:
Harvard Summer School:
OpenCourseWare:

HOW TO JOIN CS50 COMMUNITIES

Discord:
Ed:
Facebook Group:
Faceboook Page:
GitHub:
Gitter:
Instagram:
LinkedIn Group:
LinkedIn Page:
Medium:
Quora:
Reddit:
Slack:
Snapchat:
SoundCloud:
Stack Exchange:
Telegram:
Threads:
TikTok:
Twitter:
Twitter Community:
YouTube:

HOW TO FOLLOW DAVID J. MALAN

Facebook:
GitHub:
Instagram:
LinkedIn:
Quora:
Threads:
TikTok:
Twitter:

***

CS50 SHOP

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

David J. Malan

malan@harvard.edu

source

43 Comments

  1. CS50 has changed my life in 2020, I took this course and introduction to AI, then I went to do my master's. Today I'm a regional lead for data & AI. Big thanks to this course, couldn't have done it without it.

  2. I've watched old CS50 and was enrolled at the age of 16 because I was a competitive programmer, now I am here again with David and he is really a good teacher IMO, his communication skills are impressive.

  3. 22 yo MtF here. Trying to learn an actual skill and do something with my life. Never did much programming when I was a kid but Mr Teacher Man explains everything so well even a dumbass like me can understand. Thank you.

  4. i didnt think i'd ever be capable of doing anything like this, i have no experience with computers outside of being passionate for video games and knowing my way around navigating them…..

    today after a day of work i made a very small text adventure game. its made with a few choices, lots of print text and it asks and stores multiple different questions like age, name…etc. I'm doing my absolute best to be humble and realize i still know nothing and continue my journey, i feel very ignorant but doing my best to tell myself i can do this, and doing my best to celebrate the small wins. thanks david.

Leave a Reply

Your email address will not be published. Required fields are marked *

You might like

© 2026 Cantinho do Vídeo - WordPress Video Theme by WPEnjoy