熟悉css的都晓得这个,16进制的 如:#666666http://blog.sina.com.cn/s/blog_5816f6a101019imm.html这个是付值的,查找16进制的颜色对照表,self.view.backgroundColor = [selfcolorWithHexString...
分类:
移动开发 时间:
2014-06-15 21:35:07
阅读次数:
245
首先 下载源代码倒入runloop文件夹下的 四个文件即可AsyncSocket *socket=[[AsyncSocketalloc]initWithDelegate:self];NSError *error;[socket connectToHost:honPort:pwithTimeout:-...
分类:
其他好文 时间:
2014-06-15 00:58:09
阅读次数:
172
Subsets Description:Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solu...
分类:
其他好文 时间:
2014-06-14 20:14:56
阅读次数:
267
源码如下:#!/usr/bin/env pythonclass Bird(): def __init__(self): self.hungry = True def eat(self): if self.hung...
分类:
编程语言 时间:
2014-06-14 18:23:05
阅读次数:
242
mysql日志:140614 9:45:36 [Note] Plugin 'FEDERATED' is disabled.140614 9:45:36 InnoDB: The InnoDB memory heap is disabled140614 9:45:36 InnoDB: Mutexes a...
分类:
数据库 时间:
2014-06-14 16:52:44
阅读次数:
232
添加删除SUBVIEW1. 添加[self.view addSubview:customView]; 2. 删除一个view上面所有的subviewfor(UIView *subview in [self.view subviews]) { [subview removeFromSupervi...
分类:
其他好文 时间:
2014-06-14 15:45:53
阅读次数:
146
题目
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) ...
分类:
其他好文 时间:
2014-06-14 12:45:13
阅读次数:
209
You are self-motivated.As a small business owner,you won't hava a boss to tell you when to get to work.If that's a problem,keep your day job.
You can work with number.You will spend a fair amount of time keeping track of money expenses,revenues,taxs...
分类:
其他好文 时间:
2014-06-14 12:10:26
阅读次数:
253
Latent Semantic Analysis (LSA)也被叫做Latent Semantic Indexing(LSI),从字面上的意思理解就是通过分析文档去发现这些文档中潜在的意思和概念。假设每个词仅表示一个概念,并且每个概念仅仅被一个词所描述,LSA将非常简单(从词到概念存在一个简单的映射关系)
不幸的是,这个问题并没有如此简单,因为存在不同的词表示同一个意思(同义词),一个词表示多个...
分类:
其他好文 时间:
2014-06-14 11:04:45
阅读次数:
399
===6.3.2使用string对象===
string word="I love China"
*链接字符串*
string description=adjective + " " + word;
_Note_: 不能连接两个字符串字面量,下面的语句是错误的
string test= "I have" + "a dream";
===6.3.3访问字符串中的字符...
分类:
编程语言 时间:
2014-06-13 21:39:55
阅读次数:
367