摘要:
很久没有写C++程序了,很多东西都忘了,几天试了一下protobuf的tutorial,顺便写了Makefile:根据./proto/目录下的addressbook.proto( 内容请参考tutorial)生成.cc和.h文件,放到./cpp/proto/目录下$ protoc -I=./proto/ --cpp_out=./cpp/proto/ ./proto/addressbook.proto在 ./cpp/ 目录下$ cd ./cpp编写reader.cc 和 writer.cc( 内容请参考tutorial )编写Makefile文件,关于gcc编译过程和makefile中的特殊符号 阅读全文
posted @ 2012-03-08 13:51
Donal
阅读(3242)
评论(2)
推荐(1)

浙公网安备 33010602011771号