上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 1 #include<windows.h> 2 //通用字符串的定义头文件 3 #include<tchar.h> 4 5 6 7 //消息回调函数 8 LRESULT CALLBACK WindowProc( 9 HWND hWnd, //窗口句柄 10 UINT uMsg, //消息ID 11 阅读全文
posted @ 2016-03-07 15:59 天还是那么蓝 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1 // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include<iostream> 6 #include"TEST2.h" 7 #include<exception> 8 using name 阅读全文
posted @ 2016-03-02 19:02 天还是那么蓝 阅读(183) 评论(0) 推荐(0) 编辑
摘要: movs 串传送指令 stos 串存入指令 阅读全文
posted @ 2016-02-02 10:10 天还是那么蓝 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-01-30 20:30 天还是那么蓝 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma once 2 #include 3 template 4 class CLineList{ 5 private: 6 T1* pData; 7 T1 nCount; 8 int nTabLenth; 9 10 public: 11... 阅读全文
posted @ 2016-01-21 11:28 天还是那么蓝 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma once 2 template 3 class CMyVector{ 4 private: 5 int m_nLenth;//长度 6 int m_nCount;//元素个数 7 T* m_pVec;//指针 8 public: 9 ... 阅读全文
posted @ 2016-01-21 11:25 天还是那么蓝 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma once 2 //首先建立树节点的类型 3 //一个树节点有数据域,有指向左子树的指针域,有指向右子树的指针域 4 //我们将其封装成一个结构体类型 5 class DoubleTree{ 6 public: 7 typedef struct _DOUBLENODE{ ... 阅读全文
posted @ 2016-01-21 10:32 天还是那么蓝 阅读(902) 评论(0) 推荐(0) 编辑
摘要: 首先定义一个类,相关数据,函数封装,在头文件中#pragma onceclass SingleList{public: typedef struct _NODE{ int nData; //数据域 _NODE *pNext; //指向下一个节点 ... 阅读全文
posted @ 2016-01-20 21:45 天还是那么蓝 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 1 // 2 //map是一个标准的关联式容器,一个map是一个键值对序列,即(key,value)对。 3 //它提供基与key 的快速检索能力。map中key值是唯一的。 4 //集合中的元素按一定的顺序排列。元素插入过程是按排列规则插入,所以不能指定插入位置。 5 //map具体实现采用红黑... 阅读全文
posted @ 2016-01-20 20:06 天还是那么蓝 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 //双向链表list的使用 2 //高效插入删除,若只是尾部插入删除元素,优先考虑vector 3 //若仅于头尾两端增删元素,优先考虑deque 4 #include "stdafx.h" 5 #include 6 #include //使用list之前,必须包含头文件... 阅读全文
posted @ 2016-01-20 16:37 天还是那么蓝 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页