1 // 2 // LWTViewController.m 3 // 纯代码-QQ登陆 4 // 5
// Created by apple on 14-5-21. 6 // Copyright (c) 2014年 lwt. All rights
reserved. 7 // ...
分类:
其他好文 时间:
2014-05-23 04:00:21
阅读次数:
212
1 // 2 // LWTViewController.m 3 // 纯代码位移和伸缩作业 4 //
5 // Created by apple on 14-5-20. 6 // Copyright (c) 2014年 lwt. All rights
reserved. 7 ...
分类:
其他好文 时间:
2014-05-23 03:32:10
阅读次数:
194
1 // 2 // LWTViewController.m 3 // 纯代码Tom 4 //
5 // Created by apple on 14-5-21. 6 // Copyright (c) 2014年 lwt. All rights
reserved. 7 // ...
分类:
其他好文 时间:
2014-05-23 02:50:35
阅读次数:
792
判断二维字符串是否满足下面条件:
on both diagonals of the square paper all letters are the same;
all other squares of the paper (they are not on the diagonals) contain the same letter that is different from the...
分类:
其他好文 时间:
2014-05-23 02:21:01
阅读次数:
294
定义:将一个class的接口转换为另一个class的接口,使原本因接口不兼容而不能合作的classes,可以一起运作。适配器扮演者轴承、转换器的角色。
分类:
1、容器适配器:改变容器接口。
STL提供两个容器迭代器:queue和stack。它们都是修饰deque后成为另一种风貌的容器。
2、迭代器适配器:改变迭代器接口。
Insert Iterator:将容器绑...
分类:
其他好文 时间:
2014-05-23 01:58:23
阅读次数:
360
【题目】
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1], and [2,1,1].
【题意】
给定一个候选数集合,候选集中可能存在重复数,返回所有的排列
【思路】
...
分类:
其他好文 时间:
2014-05-22 17:32:17
阅读次数:
247
Given an arraySofnintegers, are there
elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which
gives the sum of zero.Note:Elemen...
分类:
其他好文 时间:
2014-05-22 16:53:52
阅读次数:
173
从openjdk.java.net下载openjdk的软件包,你就获得了所有相关的源码。
强烈建议首先仔细看懂README-builds.html 指南。在执行 make all 之前,首先要 执行make sanity
来检验依赖是否满足,你最好解决所有的的error 和 warning。编译需要...
分类:
其他好文 时间:
2014-05-22 15:45:08
阅读次数:
263
Microsoft Open Technologies has recently
released a Portable Class Libraryfor SQLite. Thanks to it, we can use SQLite in
the same way in all the suppo...
分类:
数据库 时间:
2014-05-22 15:06:51
阅读次数:
428
在进行网络程序的时候避免不了对给定IP是否跨子网段进行判断。相关原理倒是简单, 贴出相关代码:
1 #include 2 #include 3 #include 4 #include 5 #include 6 7 #define ALL_BIT 32 /*
ip address have...
分类:
其他好文 时间:
2014-05-22 14:59:04
阅读次数:
237