Sporting house 妓院(不是体育室)Dead president 美钞(不是死了的总统)Lover 情人(不是爱人)Busboy 餐馆勤杂工(不是公汽售票员)Busybody 爱管闲事的人(不是大忙人)Dry goods 纺织品 谷物(不是干货)Heart man 换心人(不是有心人)M...
分类:
其他好文 时间:
2014-08-14 01:15:37
阅读次数:
231
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:
其他好文 时间:
2014-08-14 00:59:37
阅读次数:
195
??
冒泡,快排都是常见的排序方法,这里介绍用头文件中的qsort函数排序。不过自己要先一个cmp函数。
#include//qsort的头文件
int a[100]={0,2,4,1,5,7,3,8,9}; //要排序的数组
struct Person//要排序的结构体
{
char num[20];
char name[100];
int score;
int sum;
}man...
分类:
其他好文 时间:
2014-08-13 22:39:27
阅读次数:
330
Sporting house 妓院(不是体育室)Dead president 美钞(不是死了的总统)Lover 情人(不是爱人)Busboy 餐馆勤杂工(不是公汽售票员)Busybody 爱管闲事的人(不是大忙人)Dry goods 纺织品 谷物(不是干货)Heart man 换心人(不是有心人)M...
分类:
其他好文 时间:
2014-08-13 22:01:47
阅读次数:
245
距离上一次教程又过去了将近一个多月,相信大家已经都将我上节课所说的东西所完全消化掉了。这节课就来点轻松的,说说libav的命令使用吧。注:遇到不懂的或者本文没有提到的可以用例如命令后加 --help full或者man 命令(man avconv)查看全部参数细节,或者进libav.org网站查:h...
分类:
其他好文 时间:
2014-08-13 21:39:37
阅读次数:
260
The square chestSophia pressed the button in front of her, slamming her fist against it. The door rumbled and appeared to do nothing.“Oh man, that’s n...
分类:
其他好文 时间:
2014-08-13 18:13:26
阅读次数:
274
AssociatedControlID是用在Asp.Net中的Label控件上。给label控件关联一个ASP.NET的控件,在点击这个LABEL的时候,所关联的ASP.NET控件会获得焦点。前台代码如下:男女View Code运行效果:效果就是在点击“男”的lbl_man时,ckb_man的Che...
分类:
Web程序 时间:
2014-08-13 17:53:26
阅读次数:
215
用vim习惯于显示行号,用less也想要显示行号.没行号找东西太麻烦了.开始连能不能显示行号都不知道.看了man手册,发现可以用 -N ,只是在打开大文件的时候会略微拖慢点速度. 拖慢点就拖慢点了,无所谓. 于是设置了 "alias less=less -N". 然后又发现一个问题.这行号显示得也太...
分类:
其他好文 时间:
2014-08-13 17:39:46
阅读次数:
230
Descriptiontwo hundred silver dollars from the loser.""Being the most powerful man in the country,the king has so nice horses that in each class his h...
分类:
其他好文 时间:
2014-08-13 12:52:16
阅读次数:
204
續上集。接著要來進一步了解的是 DI 的實作技術,也就是注入相依物件的方式。這裡所介紹的相依性注入方式,又稱為「窮人的 DI」(poor man’s DI),因為這些用法都與特定 DI 工具無關,亦即不使用任何現成的 DI 框架(例如 Unity、Autofac)。畢竟,DI 只是一組設計原則與模式...
分类:
其他好文 时间:
2014-08-13 10:21:55
阅读次数:
241