2016年10月20日
摘要: 1.Preprocessor Glue: The ## Operator 预处理连接符:##操作符 Like the # operator, the ## operator can be used in the replacement section of a function-like macro 阅读全文
posted @ 2016-10-20 15:43 莫水千流 阅读(1241) 评论(0) 推荐(0)
摘要: 自定义调试信息的输出 调试信息的输出方法有很多种, 例如直接用printf, 或者出错时使用perror, fprintf等将信息直接打印到终端上, 在Qt上面一般使用qDebug,而守护进程则一般是使用syslog将调试信息输出到日志文件中等等... 使用标准的方法打印调试信息有时候不是很方便, 阅读全文
posted @ 2016-10-20 15:28 莫水千流 阅读(7217) 评论(0) 推荐(0)