摘要: 格式化生成字符串 除了sprintf函数,c++中还可以使用的格式化字符串方式。 boost库 #include<boost/format.hpp> std::string s1("qwer"); char c1 = 't'; int a1 = 5; boost::format wor = boos 阅读全文
posted @ 2022-02-10 15:24 WuYunTaXue 阅读(79) 评论(0) 推荐(0) 编辑