The following function generates all the prime numbers.
How it works is left as an exercise to the reader :).
Here is the entire source code for the wrpp preprocessor.
To see some more complex sample code using several of the included libraries, check the following:
For an example on using the GTK+ binding, see here.