initial C++ example for Processor Expert