CS50 2020 - Lecture 4 - Memory

TABLE OF CONTENTS 00:00:00 - Introduction 00:00:49 - Hexadecimal 00:07:09 - RGB 00:10:35 - Memory 00:11:51 - Addresses 00:18:08 - Pointers 00:30:06 - Strings 00:44:22 - compare.c 01:00:48 - copy.c 01:06:53 - malloc 01:16:07 - free 01:21:30 - valgrind 01:34:18 - Garbage Values 01:35:44 - Binky 01:38:54 - swap.c 01:48:00 - Memory Layout 02:02:25 - Stack Overflow 02:04:05 - mario.c 02:11:03 - Buffer Overflow 02:12:18 - scanf 02:19:08 - File I/O 02:25:04 - Enhance 02:32:35 - fread 02:36:21 - fwrite 02:37:37 - Problem Set 4 *** This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. *** HOW TO SUBSCRIBE http://www.youtube.com/subscription_c... 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:   / discord   Ed: https://cs50.harvard.edu/x/ed Facebook Group:   / cs50   Faceboook Page:   / cs50   GitHub: https://github.com/cs50 Gitter: https://gitter.im/cs50/x Instagram:   / cs50   LinkedIn Group:   / 7437240   LinkedIn Page:   / cs50   Reddit:   / cs50   Quora: https://www.quora.com/topic/CS50 Slack: https://cs50.edx.org/slack Snapchat:   / cs50   Twitter:   / cs50   YouTube:    / cs50   HOW TO FOLLOW DAVID J. MALAN Facebook:   / dmalan   GitHub: https://github.com/dmalan Instagram:   / davidjmalan   LinkedIn:   / malan   Quora: https://www.quora.com/profile/David-J... Twitter:   / 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/... David J. Malan https://cs.harvard.edu/malan [email protected]