DEV Community

Ivy Chen
Ivy Chen

Posted on

CS50 Week 4 - Memory

To be fairly honest, this week's lecture went a little over my head. It was about bytes, pointers (which store the address of a value), and storing/freeing memory. It is good to free up memory that you're done using. The content this week felt more archaic and even after practice with the psets, I still feel uncomfortable doing it on my own.

The psets were interesting though and really practical! The first one was Volume and the task was to change the volume of a melody by 2x the speed. The second one was Filter and the goal was to make 4 different filters that you could use on images. The final one was Recover and I had to write a program to find and "recover" the JPEGS in a memory card. For this one, I practiced opening, reading, and writing to files.

I'm entering my halfway point in the course and I feel good! Excited to dive into the more modern languages and see how they approach teaching it.

Also I feel like I should start thinking what I'd want to do for my final project.

Top comments (0)