How do you output a percent sign itself using Boost.Format?
i.e:
boost::format msg("5% complete"); // <- how to actually output the percent sign
Thanks!
Simply escape it with another percent sign
boost::format msg("5%% complete");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With