IPlug: sprintf and you, one step float formatting

 VST Plugin Development  Comments Off on IPlug: sprintf and you, one step float formatting
Mar 222009
 

Most of us who have used C++ for a while have crossed path with sprintf once or twice. It comes in handy in a variety of places. There are all the standard things you can do with %d, %s, %f and even diving into precision with %.2f to write two decimal places of precision to the output. Recently I came across a shortcut formatting token .* which I was not previously familiar with. Here is a short example of how it works and where it could be applied to IPlug.
Continue reading »