DEV Community

Ivy Chen
Ivy Chen

Posted on

1

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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay