Intro for sci-fi / horror movie

A gang of friends are walking in a city. One of the friends drops a little behind the others, and sees some kids lying back down just next to each other on a patch of grass (in a park or similar). A small ball (baseball?) comes rolling and cuts straight through the kids bodies. Some …

Simple function-call tracing in C++

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 …