Archive

Posts Tagged ‘scoped pointer’

Memory Management: Smart Pointers

December 23, 2009 Leave a comment

One of the most important things to deal with when programming is resource management. When using a language like C++ memory is one of those precious resources that are not handled for you. Whenever you deal with the heap it’s important to keep track of everything you do to prevent memory leaks and other fun bugs that can creep up on you. So what are some ways to keep ensure your program doesn’t go eating up all your important memory?

Read more…