自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 linux网络模型非阻塞i/o模型代码实现

#include #include #include #include #include #include #include #include #include #include #define ErrFlag -1#define ShowErrMsg(msg)\ do{ perror(msg); exit(1); }while(0)void* myFunc

2018-01-18 23:46:03 353

原创 linux网络模型-阻塞i/o代码实现

0x00 环境和编辑工具linux os:ubuntu 16.04editer:vim编译工具:g++0x01 代码实现#include #include #include #include #include #include #include #include #include using namespace std;#define ErrFla

2018-01-16 09:42:25 284

原创 ubuntu使用df指令查看磁盘使用情况

系统版本:ubuntu 16.04root@reacher:~/gethFile# df -h Filesystem      Size  Used Avail Use% Mounted onudev            2.0G     0  2.0G   0% /devtmpfs           396M  2.8M  393M   1% /run/dev/v

2018-01-15 16:37:55 8895

原创 C++ Primer 第五版第一章Sales_item.h源码

#ifndef SALESITEM_H // we're here only if SALESITEM_H has not yet been defined #define SALESITEM_H // Definition of Sales_item class and related functions goes here #include #include

2018-01-15 09:50:55 1963

原创 boost 的简单使用和编译

0x001 系统版本系统版本:Ubuntu 16.04boost 版本:1.58.00x002 实现代码#include #include #include using namespace std;int main(int argc, char* argv[]){ cout << BOOST_VERSION << endl; //boost版本号

2018-01-13 15:20:46 217

原创 程序函数的模型和解析

#include using namespace std;/*备注: 这里解析一下函数格式argc 指令数量argv 指令集合*///int 是函数处理结果返回类型//main 该函数的函数名//int argc, char*argv[] 函数形参,用于调用是传递进来做函数运算的参数int main(int argc, char*argv[]) {// //TOD

2018-01-12 10:39:21 244

原创 xshell上传文件linux

0x00  系统环境linux 系统:ubuntu 16.04xshell 版本: xshell5传输文件系统:win100x01 安装rz命令指令reacher@ubuntu:~$ sudo apt-get install -y lrzsz上传文件指令:reacher@ubuntu:~$ mkdir uploadreacher@ubuntu:~$

2018-01-03 11:36:25 278

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除