Currently I’ve got the pleasure to do some coding in C. There’s nothing wrong with that, but things can get a bit uncomfortable for those spoilt by languages like Python or Java. So it’s nice to have a library of useful functions from various areas, which I accumulated over the years.
Archive for the 'c/c++' Category
Simple Error Handling in C
September 27, 2007Understanding Function Pointers in C
April 13, 2007Many people familiar with object oriented programming languages like Java seem to have trouble understanding C function pointers. Even among C programmers, they are sometimes treated like an obscure feature that is avoided wherever possible. However, if you understand the concept of a pointer and know a few basic rules, they are pretty easy to [...]
Testing C++ applications using CppUnit
December 13, 2006Unit testing is hip these days and every programming language has its own JUnit clone that mimics the original more or less closely. For C++, there’s the excellent CppUnit package that I’ve been using extensively lately. Unfortunately, C++ is less dynamic than languages like Java, so you can’t simply tell the framework to execute all [...]