/* * * Copyright (c) International Business Machines Corp., 2001 * * This program is free software; you can redistribute it and/or modify * it...
分类:
其他好文 时间:
2014-07-02 23:25:51
阅读次数:
282
HFP是Hands-free Profile的缩写 1. 介绍 1.1 目的 HFP,让蓝牙设备可以控制电话,如接听、挂断、拒接、语音拨号等 1.2 使用场景 常见的使用情景是汽车套件和蓝牙耳机,将它们连接至手机并用于拨打和接听电话 1.3 依赖关系 如上图所示,HFP依赖于Serial Port ...
分类:
其他好文 时间:
2014-07-02 21:36:47
阅读次数:
304
Shell命令行的书写规则 对Shell命令行基本功能的理解有助于编写更好的Shell程序,在执行Shell命令时多个命令可以在一个命令行上运行,但此时要使用分号(;)分隔命令,例如: [root@localhost root]# ls a* -l;free;df 长Shell命令行可以使用反斜线字...
分类:
其他好文 时间:
2014-07-01 19:36:37
阅读次数:
194
1. () (round brackets or parentheses):圆括号2. [] (square brackets):方括号3. (angle brackets):尖括号4. {} (braces) :大括号
分类:
其他好文 时间:
2014-07-01 18:08:40
阅读次数:
154
来源:http://ss64.com/osx/An A-Z Index of theApple OS Xcommand line alias Create an alias ? alloc List used and free memory apropos Search t...
分类:
移动开发 时间:
2014-07-01 17:46:48
阅读次数:
384
SICP 习题 1.42 出人意料的简单,题目要求我们定义一个名为compose的过程,该过程接收两个参数,都是单参数过程,要求我们将这两个参数代表的过程串起来。题目举例((compose square inc) 6)等于49,其中inc过程接收一个参数,执行加一操作,而square过程也只接收一个参数,执行求平方操作,6加1再求平方就是49了。如果习题1.41都做完了,这道题就比较简单了,定义...
分类:
其他好文 时间:
2014-07-01 10:42:23
阅读次数:
215
今天去广州的一家手游公司进行笔试面试,刚进去是中午1点半的时候,他们公司的人刚睡醒,一个个精神萎靡地去打卡然后上班,瞬间对这公司就没什么好印象,整个氛围好压抑。
接着快2点的时候,发了一份笔试题,大部分题目均在网上的《C++经典面试300题中》,另外还有几道题目里面没有的(估计是根据公司需求另加的):
如:1,有malloc/free,为什么还用new/deleter?2,Internet采用...
分类:
编程语言 时间:
2014-07-01 09:25:25
阅读次数:
242
题目:
链接:点击打开链接
题意:
思路:
代码:
#include
#include
#include
using namespace std;
int map[110][110];
int dp[110],next[110],ins[110];
int t,n,m;
void output(int x)
{
if(x == -1)...
分类:
其他好文 时间:
2014-07-01 08:55:28
阅读次数:
174
【问题】
Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.
定义一个过程,它以三个数为参数,返回其中较大的两个数的平方和。
【普通版】
(define (sum-square-largest x y ...
分类:
其他好文 时间:
2014-06-30 00:19:52
阅读次数:
270
http://lwn.net/Articles/283161/ Journaling filesystems come with a big promise: they free system administrators from the need to worry about disk corr...
分类:
其他好文 时间:
2014-06-29 18:51:33
阅读次数:
246