随笔分类 -  C++

C++相关的编程知识
摘要:1、动态库 A、加法类 B、导出加法类接口 #define CSV_ADD_API_H #ifdef CSVADDAPI_LIB #define CSVADDAPI_LIB_EXPORT extern "C" __declspec(dllexport) #else #define CSVADDAPI 阅读全文
posted @ 2019-05-13 16:31 horsetail 阅读(2935) 评论(0) 推荐(0)
摘要:1.下载Asyle程序。 win版本:https://sourceforge.net/projects/astyle/ 2.将bin/AStyle.exe拷到源码目录中,在命令行终端执行。 3.帮助文档 阅读全文
posted @ 2018-05-16 17:56 horsetail 阅读(1747) 评论(0) 推荐(0)
摘要:1.ros::spin()和spinOnce含义 如果在节点中如果订阅了话题,那么就必须要调用ros::sping()或者ros::spinOnce()函数去处理话题绑定的回调函数,否则该节点将不会调用节点所订阅的所有回调函数来处理接收到的数据.换句话说如果一个节点里面没有订阅话题只有发布话题,那么 阅读全文
posted @ 2017-12-01 13:22 horsetail 阅读(5440) 评论(0) 推荐(0)
摘要:1.导入项目 准备工作 1, first we should make sure the compile with build.sh under ORB_SLAM2-master is OK. 2, then if we want to build debug version, we need to 阅读全文
posted @ 2017-11-15 14:54 horsetail 阅读(933) 评论(0) 推荐(0)
摘要:设计模式,泛型编程 阅读全文
posted @ 2017-11-03 13:55 horsetail 阅读(459) 评论(0) 推荐(0)
摘要:设计模式,泛型编程 阅读全文
posted @ 2017-11-01 12:17 horsetail 阅读(7021) 评论(0) 推荐(0)