Fork me on GitHub
上一页 1 2 3 4 5 6 ··· 32 下一页
摘要: 参考链接 Bochs 调试常用命令 部分 Bochs 调试指令 使用 Bochs 调试汇编程序 Using Bochs internal debugger 阅读全文
posted @ 2022-06-12 13:31 小a的软件思考 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 安装 sudo apt-get install build-essential module-assistant sudo apt-get install gcc-multilib g++-multilib 编译 gcc -m32 hello.c 参考资料: gcc 编译 32 位程序 阅读全文
posted @ 2022-05-20 11:03 小a的软件思考 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 7. Composition(组合) Composition: construct new object with existing objects. It is the relationship of "has-a". Ways of inclusion: Fully By reference 示 阅读全文
posted @ 2022-05-12 16:50 小a的软件思考 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 5. Constructor(构造函数) If a class has a constructor, the compiler automatically calls that constructor at the point an object is created, before client 阅读全文
posted @ 2022-05-11 18:35 小a的软件思考 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 4. 成员变量 4.1 Fields, parameters, local variables All three kinds of variable are able to store a value that is appropriate to their defined type. 4.1.1 阅读全文
posted @ 2022-05-11 16:45 小a的软件思考 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 3. 自动售票机例子 TicketMachine.h #ifndef TICKETMACHINE_H_ #define TICKETMACHINE_H_ class TicketMachine { public: TicketMachine(); virtual ~TicketMachine(); 阅读全文
posted @ 2022-05-11 14:19 小a的软件思考 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 1,第一个 C++ 程序 编译方式:g++ main.cpp 1.1 输出 main.cpp #include <iostream> using namespace std; // 输出 int main() { cout << "Hello, World! I am " << 18 << " To 阅读全文
posted @ 2022-05-10 17:35 小a的软件思考 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 参考地址: MySQL慢查询mysqldumpslow和pt-query-digest工具 slow query log 分析数据 pt-query-digest 分析结果详解 阅读全文
posted @ 2022-03-25 16:22 小a的软件思考 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 《深入理解计算机系统》笔记 计算机系统是由硬件和软件相配合,运行应用程序的。 通过hello.c程序的生命周期:创建,编译,运行,打印结果,结束,来了解计算机系统的内部工作机制。 1,创建 对于计算机来说,所有的信息均以 bit 来存储。 1,创建hello.c文件 #include <stdio. 阅读全文
posted @ 2021-10-25 17:47 小a的软件思考 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 1,git clone 项目 # 地址:https://github.com/ultraji/linux-0.12 git clone git@github.com:ultraji/linux-0.12.git 2,docker 环境搭建 # Docker 切换国内镜像源 参考连接:https:// 阅读全文
posted @ 2021-10-10 20:11 小a的软件思考 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 32 下一页