- 博客(2)
- 资源 (12)
- 收藏
- 关注
原创 Protobuf C++ 第一个例子
新建一个proto文件 生成C类 编写Write函数 编写Read函数 Main函数新建一个.proto文件假设已经配置好了Protobuf的C++的环境, 用一个最简单的例子来实验Protobuf工具. 新建一个hello.proto 文件package lm; // 相当于C++ 中的命名空间 message helloworld // 相当于数据库中一个表的名称 { r
2017-04-19 15:46:57 2192
原创 Protobuf C++ 编译
protobuf 介绍 需求 编译过程 使用流程 项目配置 注意事项protobuf 介绍 Protocol Buffers (a.k.a., protobuf) are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data. 翻译: Protobuf
2017-04-19 14:35:25 2219
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人