1. 介绍 CC2540是一款2.4GHz Bluetooth® low energy SOC,基于8051 MCU 首先,你需要硬件设备 笔者的开发板为CC2540DK 得到开发板的同时应该还有TI提供的文档和代码 如果没有也可以在网上下载: - CC2540 - BLE-CC2540-1.3.2...
分类:
其他好文 时间:
2014-11-23 01:54:02
阅读次数:
612
1240. Faulty OdometerConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionYou are given a car odometer which displays the miles traveled as an...
分类:
其他好文 时间:
2014-11-23 01:53:52
阅读次数:
139
1.CCAssert(pszFilename != NULL,"Invalid filename for sprite");#前面这个变量(这里是文件名字)是否为空,不为空就弹出后面这句话,CCAssert的用法就是这样子的。2.CCTexture2D *pTexture = CCTextureCa...
分类:
其他好文 时间:
2014-11-23 01:55:09
阅读次数:
196
Where destructuring in ES6 allows you to easily get properties out of an object, this shorthand property syntax allows you to easily push properties i...
分类:
其他好文 时间:
2014-11-23 01:53:42
阅读次数:
182
有两张表(商品表和订单表,结构如下)CREATE TABLE goods ( gid int(11) DEFAULT NULL, name varchar(20) DEFAULT NULL, num smallint(6) DEFAULT NULL);CREATE TABLE ord ( o...
分类:
其他好文 时间:
2014-11-23 01:54:37
阅读次数:
151
想实现数据生成折线图,EXCEL提供了功能,但,不能嵌在网页中而且不能自动生成,GTK+库开发则可以完美实现,理想很丰满,但现实很骨感,网上资料较少,手册看不懂,学校图书馆关于GTK+的书一本没有,QT倒是不少!珠海市图书馆还是挺仁慈的,藏有一本(思考值不值得去那么远,懒得出学校),不过QT也还是很...
分类:
其他好文 时间:
2014-11-23 01:51:59
阅读次数:
260
竖立:【 字 字 字 字】或【字?字?字?字?字】空菱形:【 字?字 字 字?】实菱形:【 字?字字字 字?】H 排序:【字 字?字字字?字 字】X 排序:【字 字 字?字 字】以上都是格式。如【 字 字 字 字】【 新 年 快 乐】 复制去Google翻译翻译结果
分类:
其他好文 时间:
2014-11-23 01:52:06
阅读次数:
372
教育人士呼吁:大学生职业规划应前置到高中adminkabasiji2唐俊:32岁,我决定加入微软adminkabasiji2任志强:送给职场年轻人的9句话adminkabasiji2职业生涯规划:你正在犯的10个致命错误adminkabasiji2李开复:工作原地踏步怎么办adminkabasiji...
分类:
其他好文 时间:
2014-11-23 01:50:27
阅读次数:
208
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-11-23 01:50:55
阅读次数:
150
A这么简单的题直接贴代码好了。 1 #include 2 #include 3 using namespace std; 4 5 bool islucky(int a) 6 { 7 a = abs(a); 8 while(a) 9 {10 if(a % ...
分类:
其他好文 时间:
2014-11-23 01:50:44
阅读次数:
155
基本的参考 :http://www.cnblogs.com/devinzhang/archive/2012/02/13/2350070.htmlhttp://www.cnblogs.com/dawei/archive/2011/04/18/2019903.html深入的:http://blog.cs...
分类:
其他好文 时间:
2014-11-23 01:50:02
阅读次数:
135
本文转载至http://www.cocoachina.com/ios/20141103/10112.htmliOS开发XCode版本管理Debug开发Tips现在你有一个App,你同事的iPad用着用着出了点故障,Boss也说他的iPhone出了点问题,然后…你还有一些测试设备要跑……然后呢,这些设...
分类:
其他好文 时间:
2014-11-23 01:51:30
阅读次数:
153
在国内,网站管理者似乎对robots.txt并没有引起多大重视,可是一些功能离开它又不能是,因此今天石家庄SEO想通过这篇文章来简单谈一下robots.txt的写作。?的部分,或者指定搜索引擎只收录指定的内容。当一个搜索机器人(有的叫搜索蜘蛛)访问一个站点时,robots.txt基本介绍robots...
分类:
其他好文 时间:
2014-11-23 01:51:58
阅读次数:
205
在处理和保存XML文件时,出现The processing instruction target matching "[xX][mM][lL]" is not allowed 错误,也就是你的xml配置文件格式错误。所以,要自己检查一下格式,这个在网上是搜不到的。最容易疏忽的错误就是,用eclips...
分类:
其他好文 时间:
2014-11-23 01:50:48
阅读次数:
201
Problem D
Wavio Sequence
Input: Standard Input
Output: Standard Output
Time Limit: 2 Seconds
Wavio is a sequence of integers. It has some interesting properties.
· Wavio is of odd length i....
分类:
其他好文 时间:
2014-11-23 00:46:56
阅读次数:
343