There are many ways to do function-call tracing in C++, where the simplest method is to just print “Entering function X” when entering the function, and right before returning print “Leaving function X”. It’s a lot of work though, especially if the function have multiple return statements. One solution to the problem above is to …
Category Archives: Computer
Homepage trouble
At the moment there’s some trouble with http://ghost.pileborg.se, but hopefully I will get it back on-line soon. And even more hopefully it will be https (encrypted) too soon thereafter. Please be patient.
Oh yeah, it’s an Ouya
I got my pre-ordered Ouya today, and just unpacked it. It’s… very small! 🙂 Here are some pictures of the unpacking.
Benchmarking C++ container iteration
In this stackoverflow question I made a point that iterating over a std::vector and a std::list would not be of any noticeable difference. After someone said that it is indeed noticeable, I decided to make a small benchmark to try it out. [Note: This post has been edited with a new conclusion.]