initial function to generate custom format strings
specify a size and put a declaration of the format strings in the header
work in progress on darm-str