boost/format试用
摘要:
下面这段程序是c#中如何进行字符串格式的代码片段: 1 Console.WriteLine(string.Format("{0} is {1} is {2}", 1, "dxfcv222", 123.45678f));2 大家可以看到,简单明了非常好用。format函数甚至允许多个位置采用相同的参数,比如: 1 Console.WriteLi... 阅读全文
posted @ 2006-12-04 00:47 小峰 阅读(656) 评论(0) 推荐(0)