老船长

任何的限制,都是从自己的内心开始的。

导航

2015年12月9日 #

C++使用protobuf传输中间包含\0的字节数组

摘要: The C++ implementation of protocol buffers returns the byte and string types asstd::string. This structure contains a length function telling you how ... 阅读全文

posted @ 2015-12-09 11:52 shenzhigang 阅读(2809) 评论(0) 推荐(0) 编辑

Android Studio中JNI程序的单步调试和日志打印

摘要: 近日有个算法(检测碰撞)需要用C++实现,目的是IOS和ANDROID中共享同一段程序。下面说说android调用这段程序过程中遇到的一些事情。(过程中网上搜索了一些相关文章,大部分说的是eclipse环境中的教程,所以有必要写这篇文章,免得自己遗忘再走弯路)算法已经完成,接下来自然的过程就是单步调... 阅读全文

posted @ 2015-12-09 11:22 shenzhigang 阅读(3923) 评论(5) 推荐(0) 编辑