08 2016 档案

操作系统学习笔记(一) 段权限转移规则
摘要:截图及内容参考 《Linux内核源代码情景分析》 《自己动手写操作系统》 nasm boot.asm -o boot.bin dd if=boot.bin of=a.img bs=512 count=1 conv=notrunc 保护模式下各个段权限转移规则段分为数据段和代码段代码段分为一致代码段和 阅读全文

posted @ 2016-08-30 15:47 itdef 阅读(490) 评论(0) 推荐(0) 编辑

静态HTML服务器
摘要:主要代码 #pragma once#include "pre.h"#include <thread> NAMESPACE(DEF) class Socket {public: Socket() :s_(INVALID_SOCKET){} ~Socket() { if(INVALID_SOCKET ! 阅读全文

posted @ 2016-08-28 22:13 itdef 阅读(327) 评论(0) 推荐(0) 编辑

解析config文件 练手代码
摘要:解析一个如下的CONFIG文件 代码 阅读全文

posted @ 2016-08-27 13:56 itdef 阅读(538) 评论(1) 推荐(0) 编辑

设计模式之模板模式 template
摘要:设计模式 模板模式如果有一个流程如下step1();step2();step3();step4();step5();其中step3() step5()是需要用户自己编写使用其他步骤是固定的那么可以写成 阅读全文

posted @ 2016-08-26 20:15 itdef 阅读(247) 评论(0) 推荐(0) 编辑

POP邮件收取邮件 代码
摘要:参考此博客 http://yerik.blog.51cto.com/1662422/743998 阅读全文

posted @ 2016-08-22 17:29 itdef 阅读(400) 评论(0) 推荐(0) 编辑

CMAKE 教程前两章节学习
摘要:原文 https://cmake.org/cmake-tutorial/ 以下是一个循序渐进的教程,它覆盖了CMAKE帮助改进的通常的构建系统的话题。许多话题在《掌握CMAKE》(《Mastering CMake》)已经作为单独话题介绍,但是在一个示例工程中运用它们会更有帮助于学习。教程可以再本项目 阅读全文

posted @ 2016-08-15 16:44 itdef 阅读(245) 评论(0) 推荐(0) 编辑

cmake 及make 实践记录
摘要:DEBIAN操作系统 预备操作: 安装 gcc g++ make cmake 开启Terminal 切换到超级用户 下载安装上述软件 // makefile 内容如下 同一目录下有三个文件 main.cpp Test1.cpp Test1.h Test2.cpp Test2.h 最后结果: 内容解释 阅读全文

posted @ 2016-08-13 14:23 itdef 阅读(1567) 评论(0) 推荐(0) 编辑

c++模板笔记
摘要:使用vc2015进行C++ 模板的学习实验和笔记 用简单示例学习了解STL template大部头理论书 讲解各种规则和各种规则例外的解决办法 集中精力在20%的规则中的阴暗角落而不是80%实践中要注意的东西 https://github.com/wuye9036/CppTemplateTutori 阅读全文

posted @ 2016-08-07 14:07 itdef 阅读(248) 评论(0) 推荐(0) 编辑

模板学习实践三 functor
摘要:#include <iostream>#include <typeinfo> void foo(){ std::cout << "foo() called" << std::endl;} typedef void FooT(); // FooT is a function type, // the 阅读全文

posted @ 2016-08-06 18:28 itdef 阅读(235) 评论(0) 推荐(0) 编辑

模板学习实践二 pointer
摘要:c++ template学习记录 使用模板将实际类型的指针进行封装 当变量退出作用域 自动delete 阅读全文

posted @ 2016-08-06 17:40 itdef 阅读(375) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 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 29
30 31 1 2 3 4 5

统计

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