CS50x – Lecture 1 – C



***

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:00:43 – Source Code
00:05:01 – Visual Studio Code for CS50
00:09:00 – Hello, World
00:14:33 – From Scratch to C
00:24:10 – Header Files
00:27:10 – CS50 Manual Pages
00:31:01 – Hello, You
00:44:03 – Terminal Commands
00:55:49 – Conditionals
01:02:55 – Types
01:09:02 – compare.c
01:17:33 – agree.c
01:22:24 – Loops
01:26:09 – cat.c
01:44:46 – Functions
01:56:21 – Correctness, Design, Style
02:02:48 – Mario
02:12:53 – calculator.c
02:18:32 – Integer Overflow
02:22:11 – Boeing
02:24:34 – Pacman
02:25:54 – Truncation
02:26:32 – Type Casting
02:26:47 – Floating-Point Imprecision

***

HOW TO SUBSCRIBE

HOW TO TAKE CS50

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

HOW TO JOIN CS50 COMMUNITIES

Bluesky:
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

39 Comments

  1. #include < 31-July-2026 >

    int main{

    printf ( " Morning… " ) ;

    printf ( " This is *SHREYAN ANARASE* , from INDIA " ) ;

    printf ( " this is my Lec-01 and i am gonna complete it anyhow ..! " ) ;

    printf ( " MARK MY WORD ,…HARWARD " ) ;

    return 0;

    }

  2. stdio meaning standard io reminds me of C++ where most of the stuff like strings, for example, are std::string because they are in the standard (std) library. (also i use arch so i had to install those header files via git since the kernel of arch is linux, obviously- i was doing it locally btw)
    edit: you can also ls the hello folder by using "ls hello" instead of changing your directory.
    edit 2: doesnt the == operator ask if its in the same memory location rather than the values being equal?

  3. Thanks a lot for Harvard university to introduce CS 50 every year for us in YouTube channel so that ever person weather he belongs to rich or poor family he or she can get education by this heaven university and also thanks to professor David Milan for his very hard effort for young generation I really appreciate to him for his hard work thank you again

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