CS50 2016 - Week 4 - Memory
TOC
00:00:00 - Week 3 in Review
00:03:24 - Strings are a Lie
00:04:20 - compare0
00:06:34 - copy0
00:10:05 - noswap
00:15:49 - Program Memory
00:17:35 - The Stack
00:22:15 - get_string() in Detail
00:31:05 - Pointer Fun Preview
00:31:29 - Taking Off the Training Wheels
00:32:05 - compare1
00:32:39 - char *
00:34:45 - strcmp
00:36:42 - copy1
00:37:02 - malloc
00:45:07 - Introducing Pointers
00:49:27 - swap
00:55:04 - Proverbial Lightbulb
00:56:05 - Pointer Arithmetic
00:56:18 - pointers
00:59:55 - Pointer Gotchas
01:03:06 - Pointer Fun with Binky
01:06:26 - Memory Leaks
01:07:02 - valgrind
01:07:30 - memory
01:14:42 - The Heap
01:16:01 - Types of Overflow
01:17:26 - Buffer Overflow
01:21:20 - The Stack in More Detail
01:26:53 - Zooming In
01:28:38 - Representing Images
01:31:04 - JPEG
01:32:11 - Hexadecimal
01:37:10 - BMP
01:40:24 - struct
01:42:19 - structs0
01:45:00 - structs1
01:47:55 - CSV
01:48:43 - Enhance
01:51:02 - Outro
Explained Segments
Strings Are a Lie: http://youtu.be/WPYs6AkQAec
noswap: http://youtu.be/VHQ3mVsHRPo
Taking Off the Training Wheels: http://youtu.be/vEdKciOW_ns
Pointer Fun with Binky: http://youtu.be/u3YmNTSlHIk
Memory Leaks, valgrind: http://youtu.be/z4QOYi6FXIo
Buffer Overflow: http://youtu.be/YM9MiA9T8GI
Representing Images: http://youtu.be/6ogNubwvXNg
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from CS50 · CS50 · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Hello, World: Hadi Partovi
CS50
Content Distribution and Archival in a Digital Age
CS50
CS50 2014 - Week 1
CS50
CS50 2014 - Week 3
CS50
CS50 2014 - Week 0, continued
CS50
CS50 2014 - Week 4
CS50
Week 3, continued
CS50
Quiz 0 Review
CS50
CS50 2014 - Week 3, continued
CS50
CS50 2014 - Week 7
CS50
CS50 2014 - Week 7, continued
CS50
Breaking Through The (Google) Glass Ceiling by Christopher Bartholomew
CS50
Introduction to Amazon Web Services by Leo Zhadanovsky
CS50
CS50 2014 - Week 9
CS50
How to Build Innovative Technologies by Abby Fichtner
CS50
Light Your World (with Hue Bulbs) by Dan Bradley
CS50
Building Dynamic Web Apps with Laravel by Eric Ouyang
CS50
CS50 2014 - CS50 Lecture by Steve Ballmer
CS50
CS50 2014 - Week 10
CS50
This is CS50 with Steve Ballmer?
CS50
Meteor: a better way to build apps by Roger Zurawicki
CS50
Data Analysis in R by Dustin Tran
CS50
Data Visualization and D3 by David Chouinard
CS50
CS50 2014 - Week 6
CS50
Build Tomorrow's Library by Jeffrey Licht
CS50
CS50 2014 - Week 9, continued
CS50
Essential Scale-Out Computing by James Cuff
CS50
iOS App Development with Swift by Dan Armendariz
CS50
Sam Clark Leads Yale Students on Tour to CS50 at Harvard
CS50
3D Modeling and Manufacture by Ansel Duff
CS50
CS50 2014 - Week 5, continued
CS50
hello, world
CS50
CS50 2014 - Deep Thoughts - Hash Table
CS50
CS50 2014 - Deep Thoughts - Binary Tree
CS50
CS50 2014 - Deep Thoughts - Scratch
CS50
CS50 2014 - Deep Thoughts - MySQL
CS50
LaunchCode Visits CS50
CS50
CS50 Live, Episode 100
CS50
CS50 Field Trip to Google
CS50
This is CS50 AP
CS50
Week 4: Monday - CS50 2011 - Harvard University
CS50
Week 2: Wednesday - CS50 2011 - Harvard University
CS50
Week 1: Wednesday - CS50 2011 - Harvard University
CS50
Week 11: Monday - CS50 2011 - Harvard University
CS50
Week 3: Wednesday - CS50 2011 - Harvard University
CS50
Week 12: Monday - CS50 2011 - Harvard University
CS50
Week 1: Friday - CS50 2011 - Harvard University
CS50
Week 3: Monday - CS50 2011 - Harvard University
CS50
Week 10: Wednesday - CS50 2011 - Harvard University
CS50
Week 2: Monday - CS50 2011 - Harvard University
CS50
Week 9: Monday - CS50 2011 - Harvard University
CS50
Week 7: Monday - CS50 2011 - Harvard University
CS50
Week 5: Monday - CS50 2011 - Harvard University
CS50
Week 5: Wednesday - CS50 2011 - Harvard University
CS50
Week 7: Wednesday - CS50 2011 - Harvard University
CS50
Week 8: Monday - CS50 2011 - Harvard University
CS50
Week 9: Wednesday - CS50 2011 - Harvard University
CS50
Week 8: Wednesday - CS50 2011 - Harvard University
CS50
Week 10: Monday - CS50 2011 - Harvard University
CS50
Week 2: Wednesday - CS50 2010 - Harvard University
CS50
Related AI Lessons
⚡
⚡
⚡
⚡
The ABCs of reading medical research and review papers these days
Medium · LLM
#1 DevLog Meta-research: I Got Tired of Tab Chaos While Reading Research Papers.
Dev.to AI
How to Set Up a Karpathy-Style Wiki for Your Research Field
Medium · AI
The Non-Optimality of Scientific Knowledge: Path Dependence, Lock-In, and The Local Minimum Trap
ArXiv cs.AI
Chapters (40)
Week 3 in Review
3:24
Strings are a Lie
4:20
compare0
6:34
copy0
10:05
noswap
15:49
Program Memory
17:35
The Stack
22:15
get_string() in Detail
31:05
Pointer Fun Preview
31:29
Taking Off the Training Wheels
32:05
compare1
32:39
char *
34:45
strcmp
36:42
copy1
37:02
malloc
45:07
Introducing Pointers
49:27
swap
55:04
Proverbial Lightbulb
56:05
Pointer Arithmetic
56:18
pointers
59:55
Pointer Gotchas
1:03:06
Pointer Fun with Binky
1:06:26
Memory Leaks
1:07:02
valgrind
1:07:30
memory
1:14:42
The Heap
1:16:01
Types of Overflow
1:17:26
Buffer Overflow
1:21:20
The Stack in More Detail
1:26:53
Zooming In
1:28:38
Representing Images
1:31:04
JPEG
1:32:11
Hexadecimal
1:37:10
BMP
1:40:24
struct
1:42:19
structs0
1:45:00
structs1
1:47:55
CSV
1:48:43
Enhance
1:51:02
Outro
🎓
Tutor Explanation
DeepCamp AI