摘要:
错误:/bin/sh: 1: protoc: not found 使用muduo源码中的脚本build.sh进行到一半报错,解决办法: sudo apt-get install protobuf-compiler 阅读全文
摘要:
#include <stdio.h> #define D(...) \ do { \ FILE *fp = fopen("/tmp/log.txt","a"); \ fprintf(fp,"%s:%s:%d:\t", __FILE__, __func__, __LINE__); \ fprintf( 阅读全文