C++日志程序库 RLog
- 授权协议: LGPL
- 开发语言: C/C++
- 操作系统: Windows
- 软件首页: http://code.google.com/p/rlog/
- 软件文档: http://www.arg0.net/rlog
软件介绍
RLog是一个灵活的C++日志程序库。RLog高度优化了不用实际输出Log信息的分支,因此RLog可以留在发布产品中,并可以按需开启输出。
示例代码:
// create custom logging channel (part of debug hierarchy)
// Any subscriber to 'debug' will also pick up this sub channel,
// or it can be subscribed to directly.
static RLogChannel *timeChannel = DEF_CHANNEL("debug/timeStamp", Log_Debug);
void func(int foo)
{
// log to the 'debug' channel
rDebug("foo = %i", foo);
int ans = 6 * 9;
if(ans != 42)
rWarning("ans = %i, expecting 42", ans); // log to warning channel
// log to error channel
rError("I'm sorry %s, I can't do that (error code %i)", name, errno);
// log to custom channel
// Note: time() never gets called unless there are subscribers to this message
rLog(timeChannel, "the time is now %i", (int)time(NULL));
}
数学建模
[美] Frank R.Giordano,Maurice D.Weir,William P.Fox / 机械工业出版社 / 2004-1 / 45.00元
数学建模是用数学方法解决各种实际问题的桥梁。本书分离散建模(第1~9章)和连续建模(第10~13章)两部分介绍了整个建模过程的原理,通过本书的学习,学生将**会在创造性模型和经验模型的构建、模型分析以及模型研究方面进行实践,增强解决问题的能力。 ·论证了离散动力系统,离散优化等技术对现代应用数学的发展的促进作用。 ·在创造性模型和经验模型的构建、模型分析以及模型研究中融入个人项目和小组......一起来看看 《数学建模》 这本书的介绍吧!
正则表达式在线测试
正则表达式在线测试
RGB CMYK 转换工具
RGB CMYK 互转工具
