News

That really is all there is to make your own classes work with printf. Whenever you want to display them, be sure to use a properly configured %s setting within the formatting string.
Basically, use <B>open</B> to create a filehandle (in the appropriate mode -- e.g. read, write, append, whatever) and then pass that as the first argument to printf, then close the filehandle.