Tag Archives: memory

Never Stop Writing Code

To a certain extent, coding is something that you never completely forget. Although you may be a little slower after a break, once the problem-solving part of your brain fires up, you will still have the skills and knowledge to do the things you have always done. However, coding is also a lot like the […]

Understanding Pointers (with Lego) Part 1

Ahhh pointers. I’ve been wanting to write a series of posts on pointers for a long time. When I’ve finished, I’ll upload a complete PDF eGuide. In the meantime, enjoy 🙂 Pointers. A concept that some programmers avoid through fear, others abuse through ignorance, and yet others manage to use with grace and efficiency. Every […]

Dynamic Memory in C (malloc, calloc, realloc, free)

Let’s take a look at the four methods that allow us to utilize dynamic memory in C. Dynamic memory just means we are using memory on the heap, instead of on the stack. Why would you want to use dynamic memory? You might want to create a variable or object that persists beyond the scope […]