CS50 2021 in HDR - Lecture 4 - Memory

preview_player
Показать описание

TABLE OF CONTENTS

00:00:00 - Introduction
00:01:17 - Memory
00:04:16 - RGB
00:06:15 - Hexadecimal
00:14:12 - Memory Addresses
00:17:27 - address.c
00:19:47 - Pointers
00:22:12 - Address Of
00:26:36 - Dereference Operator
00:31:13 - Visualizing Pointers
00:39:18 - Assignment Operator
00:40:52 - Strings in Memory
00:44:47 - char *
00:59:09 - Pointer Arithmetic
01:09:52 - compare.c
01:20:52 - copy.c
01:25:46 - malloc and free
01:39:24 - Valgrind
01:46:06 - Garbage Values
01:48:50 - Binky Pointer Fun
01:54:31 - Swap
01:58:00 - swap.c
02:01:39 - Stack and Heap
02:03:52 - Visualizing swap.c
02:07:22 - Pointer Helpers
02:12:22 - scanf
02:16:55 - Segmentation Fault
02:19:18 - File Input/Output
02:25:08 - This was CS50

***

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

HOW TO JOIN CS50 COMMUNITIES

HOW TO FOLLOW DAVID J. MALAN

***

CS50 SHOP

***

LICENSE

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

David J. Malan
Рекомендации по теме
Комментарии
Автор

It's so comforting to watch someone with a Ph.D in computer science screwing up some pretty basic code. Not only does it make me feel better every time I screw up, it also puts into perspective just how difficult this whole profession is.

JesseLeeHumphry
Автор

You know a lecture is awesome, when you watch it instead of Netflix, just for fun. Biggest respect to Mr. Malan and the people behind CS50!

akosdanielbollok
Автор

WOW ! if this is how it feels to study at harvard then you people are very lucky .Never enjoyed a class like that .Thank you so much cs50

kareynjeri
Автор

I am addicted to this course. I started less than 3 weeks ago and I completed every single pset and task up to week 4. I had no prior experience in programming but I am seriously considering to pursue a career in programming. I hope I can get myself into this world.

tobib
Автор

1:45:54 “Capable of making new mistakes” — this pretty much sums up a good learning process. Mistakes are inevitable part of learning. They shouldn’t be treated as something bad or shameful. “New” underscores that progress is inevitable as well. It’s both humble and inspiring. Thank you for creating such a productive mental environment to learn in!

vovabelikov
Автор

It’s insane how well he explains this stuff!

dixztube
Автор

Wow this lecture is amazingly put together - I am working on my OSCP and a lot of the gaps in my knowledge is being filled by this. Well done!

craiggray
Автор

I've seen this teacher before, and he is awesome at simplifying large and complicated material into digestible ones.

He teaches quick and clear.

guiller
Автор

2:25:21 If you are having hard time seeing the secret message because this HDR version is too bright. You could try pausing the video and click the screen to make it show the play button the app dims the background a little which helps you see.

dDesirie
Автор

30:22 GIRL SAME lol.

That was me when I first found out about pointers and it's good to know that even people attending Harvard are having a bit of a tough time with this.

I've been programming in UE4 for two years, so the concept of references / pointers isn't all that new, but a pointer to a pointer is still super wtf-y.

JesseLeeHumphry
Автор

Watching this video series during self-isolation makes me feel so much better. Hope the virus feels the same way I feel. Good job. Thanks

mybluearmyman
Автор

16:28 differentiaion of decimal numbers vs hexadecimal numbers by putting 0x
34:51 size of pointer variable is fixed.it depends upon processor, nowadays it is 8 bytes (64 bit processor)

t.sathwik
Автор

The way you go into the details of pointers and memory locations is unmatched, I was not able to grasp it as well approaching with multiple other methods of learning from books to videos.

mattg
Автор

unbelievable style of teaching, you are the rock star

romandzhadan
Автор

lovin' this course so much I'm legit watching the lecturas for fun. instead of watching random yt videos, I watch week[i] 's lecture

Fede_uyz
Автор

That pointer video was insanely brilliant

dixztube
Автор

30:30 that groan about pointers to pointers... I felt that.

mattg
Автор

I always love the “this was cs50” messages at the end

MitchellRoman
Автор

LETS GO KINGS
WE CAN DO IT!
WOOOHOOO

janpaweii
Автор

when your program is so well-written you struggle to make a problem in it.

roguespartan