2011年7月20日

google protobuf 使用心德

摘要: 最近我们开发过程中用到google/protobuf,因为之前没有接触过。网上的资料都是互相复制转载的。基本上都是讲protobuf 怎么赋值怎么取值。。。主要的消息映射讲的微乎其微。。。。。我根据网上说的做了下。。。问题我纠缠死了。。。-_-# OK 看代码 1 GOOGLE_PROTOBUF_VERIFY_VERSION; 2 string str = ""; 3 4 tutorial::AddressBook address_book; 5 tutorial::Person *person = tutorial::Person::default_instance(). 阅读全文

posted @ 2011-07-20 11:38 游戏开发:主席 阅读(950) 评论(0) 推荐(1) 编辑

导航