Understanding const pointers and variables in C++

In modern C++, we are used to see const pointers. They are a useful way to avoid changes in memory passed to a function. As such, they are very common in function declarations. The const word, however, has other uses. It turns out that when the const keyword is applied to the pointer itself (instead…

Why is Twitter More Interesting Than FaceBook

I recently read a blog post [1] commenting on how twitter gives a better user experience than FaceBook. I hadn’t spent a lot of time thinking about the difference, but I suddenly realized that there is really a big shift in focus and tone when I use Titter or Facebook. First, there are the obvious…

Using the Immediate Window on Visual Studio

This is a quick tip for visual studio users. It may be that most developers using VS already know this, but I only recently found about the immediate window. The immediate window is useful as a complement to visual C++ integrated debugger, as it allows one to evaluate small C++ (or C#) expressions during debugging….