上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: 音视频学习网站 https://blog.csdn.net/smilestone322/column/info/stream-media-tec https://blog.csdn.net/cosmoslife/article/category/1134990 ffmpeg:https://www. 阅读全文
posted @ 2019-01-15 09:32 Malphite 阅读(484) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/wangguchangqing/p/5900426.html https://blog.csdn.net/yazhouren/article/details/38380789 https://www.jianshu.com/p/6c12643d702a 阅读全文
posted @ 2019-01-09 00:19 Malphite 阅读(162) 评论(0) 推荐(0)
摘要: c/c++: http://c.biancheng.net/ shell/db/c/c++:在线编辑学习 http://www.tutorialspoint.com/ 阅读全文
posted @ 2018-12-29 15:09 Malphite 阅读(392) 评论(0) 推荐(0)
摘要: -rpath和-rpath-link 假设有3个文件,在同一目录下,有这样的依赖关系 test->liba.so->libd.so 如果编译test的时候这样写 gcc test.c –la warning:libd.so, needed by liba.so not found 解决办法有3个 方 阅读全文
posted @ 2018-12-18 15:04 Malphite 阅读(304) 评论(0) 推荐(0)
摘要: day09#include <iostream>using namespace std;class A{ public: virtual void fooa(int x){ cout << "fooa(int)" << endl; cout << x << endl; } virtual void 阅读全文
posted @ 2018-12-02 14:42 Malphite 阅读(186) 评论(0) 推荐(0)
摘要: http://baijiahao.baidu.com/s?id=1587715130853990653&wfr=spider&for=pc https://www.cnblogs.com/cslunatic/p/3756417.html https://www.cnblogs.com/jqctop1 阅读全文
posted @ 2018-11-30 15:17 Malphite 阅读(333) 评论(0) 推荐(0)
摘要: day8一、 多态的底层实现 虚函数 加了virtual修饰的成员函数 虚函数表指针 一个类型只要有虚函数 则这个类型就有一张虚函数表。 同类型的对象共享一张虚函数表 虚函数表 每个元素都是虚函数的地址 当父类型指针 指向子类对象时 先根据对象地址中的前四个字节找到虚函数表的地址 然后根据虚函数表地 阅读全文
posted @ 2018-11-25 21:53 Malphite 阅读(134) 评论(0) 推荐(0)
摘要: day07一、继承中构造和析构的调用 1.1调用顺序 构建子类对象时 一定会先调用父类的构造函数 再调用自己的构造函数 析构函数的调用和构造函数调用的顺序相反。 #include <iostream> using namespace std; class A{ public: A(){ cout < 阅读全文
posted @ 2018-11-18 23:19 Malphite 阅读(209) 评论(0) 推荐(0)
摘要: 一、this指针 1.1 什么是this 指针 指向当前对象的指针 构造函数中this指向正在被构建的对象首地址 成员函数中 this代表调用这个函数的对象的首地址 1.2 this指针的应用 区分成员变量 和函数参数 this 可以作为函数参数 this 可以作为返回值(实现连续操作)二、cons 阅读全文
posted @ 2018-11-04 15:17 Malphite 阅读(195) 评论(0) 推荐(0)
摘要: 1、invalid new-expression of abstract class type ‘×××ב 这个报错代表一个尝试在实例化一个抽象类,也就是说父类的接口中有纯虚函数在子类中没有实现; 举例: 这样编译就会报错,子类中必须要实现所有父类里面定义的纯虚函数 正确方式如下: 2:error 阅读全文
posted @ 2018-11-04 10:45 Malphite 阅读(1026) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页