1 using System; 2 using System.Threading.Tasks; 3
using System.Runtime.InteropServices.WindowsRuntime; 4 using
Windows.Graphics.Imaging; 5 using...
分类:
移动开发 时间:
2014-05-23 06:35:37
阅读次数:
295
定义:将一个class的接口转换为另一个class的接口,使原本因接口不兼容而不能合作的classes,可以一起运作。适配器扮演者轴承、转换器的角色。
分类:
1、容器适配器:改变容器接口。
STL提供两个容器迭代器:queue和stack。它们都是修饰deque后成为另一种风貌的容器。
2、迭代器适配器:改变迭代器接口。
Insert Iterator:将容器绑...
分类:
其他好文 时间:
2014-05-23 01:58:23
阅读次数:
360
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace Lambda表达式{
class Program ...
分类:
其他好文 时间:
2014-05-22 16:16:25
阅读次数:
292
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace outAndref{
class Program ...
分类:
其他好文 时间:
2014-05-22 16:04:40
阅读次数:
258
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace 内置委托{
static class Program .....
分类:
其他好文 时间:
2014-05-22 15:58:08
阅读次数:
159
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace 二维数组{ class
Program { ...
分类:
其他好文 时间:
2014-05-22 15:54:53
阅读次数:
227
using System;using System.Collections.Generic;using
System.IO;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 序列化反序列化{ c...
分类:
其他好文 时间:
2014-05-22 15:52:52
阅读次数:
264
因特网协议栈Internet protocol stack:应用层Application
layer、运输层Transport layer、网络层Network layer、链路层Data link layer、物理层Physical
layer7层ISO OSI参考模型:应用层、表示层Presen...
分类:
Web程序 时间:
2014-05-22 15:21:38
阅读次数:
312
1.Q:vector的push_back()方法到底做了些什么? 为什么声明写的是void
push_back (const value_type&
val);A:的确,乍一看,似乎push_back方法添加了一个引用。哦,天啊,如果这个引用对象被析构了,那岂不是要出错。官方文档是这样写的Adds ...
分类:
其他好文 时间:
2014-05-21 20:36:55
阅读次数:
408
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口
Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:
其他好文 时间:
2014-05-21 18:21:04
阅读次数:
219