Knowing how references really differ from pointers should help you decide when to use references and when to stick with pointers. In C++, references provide many of the same capabilities as pointers.
So I've made my first tentative steps into C++, when all my previous experience has been with languages with dynamic memory management. I've started using SDL to put together a very simple game to ...
In both .NET and Java, the garbage collector is smart enough to detect and release circular references. Dealing with circular references in C++ isn't as simple. In the first installment of this series ...
As someone who has spent over two decades in the embedded systems industry, I’ve seen the vast evolution of technology—from 8-bit microcontrollers to today’s sophisticated, multicore systems. Yet, one ...
Recent announcements made by some big players in the industry about C++ enablement -- like Google's Android NDK, the Apple-sponsored Clang compiler or the inclusion of C++ as a first-class citizen in ...
In the first part of this series, we covered the basics of pointers in C, and went on to more complex arrangements and pointer arithmetic in the second part. Both times, we focused solely on pointers ...