Author Archives: Faye Williams

Virtual Destructors

Interview questions often ask about virtual destructors and why they are needed. It’s one of those funny things about C++ that unless you have specifically been shown, you just might not realise you need to know. So why do you need a virtual destructor? Essentially, you need a virtual destructor to make sure that ALL […]

Linux Commands: nl

There is an incredible selection of little Linux commands that will do all sorts of things to your files, standard output and programs. Now and again I’m going to pick one out and have a play because you just never know when a little tool already exists that will do exactly what you need. Today […]

Turn On Line Numbers in Eclipse [Luna]

Personally, I’m not sure what any code editor thinks it is doing by not having line numbers switched on by default. But, each to their own, so if you want to see your line numbers in Eclipse and you just can’t find out where on earth to turn them on, aaargh! Don’t panic. Just go to: Window […]

Save GDB Breakpoints

It wasn’t that long ago (well, okay, it was back in 2010, but anyway), that using the GDB debugger left you with the issue of how to maintain your breakpoints from one debug session to the next. After carefully adding breakpoints, and spending time getting them in just the right place, it was a real headache […]