利用protobuf进行读写配置文件
摘要:利用protobuf进行读写配置文件 1、编写protobuf 的proto文件 在程序中经常会用配置文件,而利用protobuf可以很方便的进行配置文件的读写。 先编写好protobuf的proto文件 2、生成相对应的源文件 3、示例程序(读写配置文件) c include include in
阅读全文
posted @ 2019-05-29 13:50
posted @ 2019-05-29 13:50