Chinaunix首页 | 论坛 | 博客
  • 博客访问: 49060
  • 博文数量: 45
  • 博客积分: 1112
  • 博客等级: 少尉
  • 技术积分: 575
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-03 11:47
文章分类

全部博文(45)

文章存档

2013年(45)

我的朋友

发布时间:2013-01-12 10:16:29

selectSort 选择排序#include <iostream>#include <string>#include <cstring>#include <cstdlib>#include <cstdio>#include <cmath>#include <vector>#include <stack>#include <deque>#include <queue>#include <bitset>#include <list>#include &l......【阅读全文】

阅读(221) | 评论(0) | 转发(0)

发布时间:2013-01-12 10:06:50

bubbleSort 冒泡法排序#include <iostream>#include <string>#include <cstring>#include <cstdlib>#include <cstdio>#include <cmath>#include <vector>#include <stack>#include <deque>#include <queue>#include <bitset>#include <list>#include &......【阅读全文】

阅读(122) | 评论(0) | 转发(0)

发布时间:2013-01-12 09:38:16

插入排序类似于抓扑克牌#include <iostream>#include <string>#include <cstring>#include <cstdlib>#include <cstdio>#include <cmath>#include <vector>#include <stack>#include <deque>#include <queue>#include <bitset>#include <list>#include <ma......【阅读全文】

阅读(309) | 评论(0) | 转发(0)

发布时间:2013-01-11 19:59:34

什么是Socket   Socket接口是TCP/IP网络的API,Socket接口定义了许多函数或例程,程序员可以用它们来开发TCP/IP网络上的应用程序。要学Internet上的TCP/IP网络编程,必须理解Socket接口。    Socket接口设计者最先是将接口放在Unix操作系统里面的。如果了解Unix系统的输入和输出的话,就很容易了解Socket了。网络的 Socket数据传输是一种特殊的I/O,Socket也是一种文件描述符。Socket也具有一个类似于打开文件的函数调用Socket(),该函数返 回一个整型的Socket描述符,随后的连接建立、数据传输等操作都是通......【阅读全文】

阅读(183) | 评论(2) | 转发(0)

发布时间:2013-01-11 14:46:37

思想 : 将两个(或以上) 有序表合并成一个新的有序表,即把待排序序列划分为若干个子序列,每个子序列是有序的。然后再把有序子序列合并为整体有序序列。#include <iostream>#include <string>#include <cstring>#include <cstdlib>#include <cstdio>#include <cmath>#include <vector>#include <stack>......【阅读全文】

阅读(159) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册