c++ protobuf 练习

weixin_39209 3 0 PDF 2021-01-16 23:01:17

c++ protobuf 练习安装proto buffer创建两个proto文件编译测试编译及运行结果 安装proto buffer 后续补上... 创建两个proto文件 stu.proto (单个字段模式) message stu { optional string name = 1; optional int32 age = 2; optional string addr = 3; } stu_bat.prot (数组模式) message student { optional string name = 1; optional int32 age = 2; opti

用户评论
请输入评论内容
评分:
暂无评论