会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Axel_uestc
博客园
首页
新随笔
联系
订阅
管理
2016年8月11日
网络层
摘要: 网络层 网络层提供四种服务:分组化处理、查找下一跳的逻辑地址、查找下一跳的物理地址、对数据报进行必要的分片处理。 一、概述 1、交换:电路交换、分组交换 电路交换: 分组交换:来自上层的报文被分割成便于管理的一个个分组,再通过网络发送这些分组。报文的源点逐个发送分组,而其终点也逐个接收这些分组,等到
阅读全文
posted @ 2016-08-11 22:08 Axel_uestc
阅读(967)
评论(0)
推荐(0)
2016年8月4日
指针、一维数组、二维数组
摘要: // exam3.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include<iostream>using namespace std; /* 数组1 2 8 9 2 4 9 12 4 7 10 13 6 8 11 15 */ int array[4][4]
阅读全文
posted @ 2016-08-04 15:32 Axel_uestc
阅读(337)
评论(0)
推荐(0)
2016年8月3日
sql常用语句
摘要: SQL常用语句 一、查看数据库 1、 显示所有的数据库 命令:show databases; (注意:最后有个s) 2、 创建数据库 命令:create database 【数据库名】; 3、.查看当前使用的数据库 命令:select database(); 二、对表进行操作 A、创建表前及创建表时
阅读全文
posted @ 2016-08-03 20:10 Axel_uestc
阅读(190)
评论(0)
推荐(0)
STL-vector
摘要: // xuanze-sort.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include<iostream>#include<string>#include<vector>//vector向量容器using namespace std; /*********
阅读全文
posted @ 2016-08-03 20:05 Axel_uestc
阅读(110)
评论(0)
推荐(0)
STL-string
摘要: #include "stdafx.h"#include<iostream>#include<string>#include<vector>//vector向量容器using namespace std; /***********************************************
阅读全文
posted @ 2016-08-03 20:04 Axel_uestc
阅读(131)
评论(0)
推荐(0)
STL-set
摘要: // xuanze-sort.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include<iostream>#include<string>#include<vector>//vector向量容器#include<deque>#include<list>#i
阅读全文
posted @ 2016-08-03 20:03 Axel_uestc
阅读(114)
评论(0)
推荐(0)
STL-list
摘要: #include "stdafx.h"#include<iostream>#include<string>#include<vector>//vector向量容器#include<deque>#include<list>#include<algorithm>using namespace std;/
阅读全文
posted @ 2016-08-03 19:59 Axel_uestc
阅读(131)
评论(0)
推荐(0)
STL-deque
摘要: // xuanze-sort.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include<iostream>#include<string>#include<vector>//vector向量容器#include<deque>using namespace
阅读全文
posted @ 2016-08-03 19:58 Axel_uestc
阅读(176)
评论(0)
推荐(0)
2016年7月31日
链表的操作
摘要: // xuanze-sort.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include<iostream>#define MAXSIZE 100 //定义线性表的最大长度#include "stdio.h"#include <stdlib.h>#inclu
阅读全文
posted @ 2016-07-31 19:20 Axel_uestc
阅读(244)
评论(0)
推荐(0)
2016年7月29日
c的动态内存管理
摘要: 一、动态内存分配 1、 c语言中动态内存分配的步骤: (1) 用mallocl类的函数分配内存; (2) 用这些内存支持应用程序; (3) 用free函数释放内存 例如: 2、 内存泄露 如果不再使用已分配的内存却没有将其释放,就会发生内存泄露,导致内存泄露的情况可能如下: (1) 丢失内存地址 在
阅读全文
posted @ 2016-07-29 11:08 Axel_uestc
阅读(296)
评论(0)
推荐(0)
公告