文章分类 -  c++

GOptionContext
摘要:https://developer.gnome.org/glib/stable/glib-Commandline-option-parser.html 阅读全文

posted @ 2021-02-17 12:11 cdekelon 阅读(219) 评论(0) 推荐(0) 编辑

Opengrok 看码利器
摘要:https://www.jianshu.com/p/b08528c7f99a https://blog.csdn.net/grandgrandpa/article/details/83574585 阅读全文

posted @ 2020-08-06 15:24 cdekelon 阅读(38) 评论(0) 推荐(0) 编辑

http://www.cplusplus.com/articles/LT75fSEw/
摘要:http://www.cplusplus.com/articles/LT75fSEw/ 阅读全文

posted @ 2020-07-07 17:24 cdekelon 阅读(75) 评论(0) 推荐(0) 编辑

c++ trt engine
摘要://g++ inferPeopleNet.cpp `pkg-config --cflags --libs opencv4` -I /usr/local/cuda-10.2/include -I /usr/include/aarch64-linux-gnu/ -L /usr/lib/aarch64-l 阅读全文

posted @ 2020-07-04 16:58 cdekelon 阅读(444) 评论(0) 推荐(0) 编辑

#if #ifndef #ifdef
摘要:https://blog.csdn.net/u013401766/article/details/78590776 C++常用预处理指令: #空指令,无任何效果 #include包含一个源代码文件 #define定义宏 #undef取消已定义的宏 #if如果给定条件为真,则编译下面代码 #ifdef 阅读全文

posted @ 2019-08-21 10:49 cdekelon 阅读(76) 评论(0) 推荐(0) 编辑

linux 单步运行
摘要:$ g++ 272.cpp -g $ gdb a.out (gdb) l2 #include <string>34 using namespace std;56 #define sam 25789 int main()10 {11 int numbers[sam] = {0};(gdb) 6Unde 阅读全文

posted @ 2019-08-20 17:58 cdekelon 阅读(220) 评论(0) 推荐(0) 编辑

简单的 constructor 和 method
摘要: 阅读全文

posted @ 2019-08-16 13:19 cdekelon 阅读(95) 评论(0) 推荐(0) 编辑

两种constructor
摘要: 阅读全文

posted @ 2019-08-16 13:07 cdekelon 阅读(67) 评论(0) 推荐(0) 编辑

public protected private
摘要:1.public 继承:基类 public 成员,protected 成员,private 成员的访问属性在派生类中分别变成:public, protected, private 2.protected 继承:基类 public 成员,protected 成员,private 成员的访问属性在派生类 阅读全文

posted @ 2019-08-16 12:42 cdekelon 阅读(78) 评论(0) 推荐(0) 编辑

两种方式new动态内存
摘要: 阅读全文

posted @ 2019-08-15 12:29 cdekelon 阅读(92) 评论(0) 推荐(0) 编辑

指针与数组
摘要: 阅读全文

posted @ 2019-08-14 16:13 cdekelon 阅读(46) 评论(0) 推荐(0) 编辑

定义指针变量时星号的位置
摘要:https://blog.csdn.net/xiaoyingluo/article/details/70237117 int *a; int* a; 两者意思相同且后者看上去更为清楚:a被声明为类型为 int* 的指针. 但是,这并不是一个好技巧,原因如下: int* b, c, d; 人们很自然地 阅读全文

posted @ 2019-08-14 15:48 cdekelon 阅读(426) 评论(0) 推荐(0) 编辑

include path
摘要:INCPATH = -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gn 阅读全文

posted @ 2019-08-07 19:28 cdekelon 阅读(78) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示