Greetings!
You’ll find the Cartoon Shader (Advanced) C++ sample program here:
github.com/drivird/drunken-octo-robot.git
I’ve also fully implemented the following Python classes in C++:
OnscreenText --> COnscreenText
BufferViewer --> CBufferViewer
I hope you find it useful and of course, constructive critics are always welcome
Cheers!