2013年1月28日
摘要: Trie(retrieval) is an order tree data structure that is used to store “string”.Unlike normal tree, trie does not store data in its nodes,node position indicates what data the node associates with.below is what a trie looks like holding string: ab, ac,b,cd,cde,d.A simple definition of a trie node:str 阅读全文
posted @ 2013-01-28 17:06 twoon 阅读(380) 评论(0) 推荐(0) 编辑
摘要: (一)输出 log 是调试及监控程序运行状态的一种关键手段,写 GUI 程序也不例外,具体对 wxWidgets 来说,它提供了如下一系列内置函数来处理 log 的输出:wxLogErrorwxLogWarningwxLogMessagewxLogDebugwxLogVerbose 从它们的名字我们... 阅读全文
posted @ 2013-01-28 11:36 twoon 阅读(2663) 评论(0) 推荐(0) 编辑
摘要: Log4cplus has three main components:LayoutsAppendersLoggers These three type of components found the basic of the log4cplus framework. here is a simplified uml graph illustrating the relationships of those classes: (1) A "Layout" class determines the format of the log message(how do w... 阅读全文
posted @ 2013-01-28 09:31 twoon 阅读(599) 评论(0) 推荐(0) 编辑