The example is found in the S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1 for C++ and can be compiled and run with the accompanying command line tools.
It is also recommended that you have an S60 S60 3rd Edition or S60 3rd Edition FP1 edition target device to which you can deploy the application.