protobuf入门指南
摘要:
1, 下载compiler和源代码,或直接下bin包http://code.google.com/p/protobuf/downloads/build protobuf:C++代码./configuremakemakecheckmakeinstall2, 创建一个addressbook.protoC++代码packagetutorial;messagePerson{requiredstringname=1;requiredint32id=2;optionalstringemail=3;enumPhoneType{MOBILE=0;HOME=1;WORK=2;}messagePhoneNumbe 阅读全文
posted @ 2014-01-13 11:45 wishing 阅读(346) 评论(0) 推荐(0) 编辑