码迷,mamicode.com
首页 >  
搜索关键字:am    ( 1985个结果
infoq - neo4j graph db
My name is Charles Humble and I am here at QCon New York 2014 with Ian Robinson. Ian, can you introduce yourself to the InfoQ community?Hello, I am Ia...
分类:数据库   时间:2015-02-28 00:12:03    阅读次数:197
编译gd2.0.35出错解决办法
configure.ac:64: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf docu...
分类:其他好文   时间:2015-02-27 01:29:58    阅读次数:150
安卓adb在拨号键盘上输入井号(#)
安卓系统下由于#号是属于内定字符,需要转义为%23第一种方式:adb shell service call phone 1 s16 "%23"第二种方式:adb shell am start -a android.intent.action.DIAL -d tel:%23如果拨号则为:adb she...
分类:移动开发   时间:2015-02-26 18:03:11    阅读次数:618
Java基本
定义类的方法class 类名{ 属性; 方法;}属性也叫成员变量,主要用于描述累的状态方法也叫成员方法,主要用于描述类的行为class Person{ int age; void show() { System.out.println(“oh,my god ! I am”+age...
分类:编程语言   时间:2015-02-25 18:33:26    阅读次数:191
多进程
1.import osprint 'Process (%s) start...' % os.getpid()pid = os.fork() #生成子进程,在父进程和子进程中运行之后的程序 ,子进程永远返回0,而父进程返回子进程的IDif pid==0: print 'I am child ...
分类:系统相关   时间:2015-02-25 17:03:13    阅读次数:143
python正则表达式-findall
python正则表达式-findall #coding=utf-8 import re ''' # 获取匹配的的内容 ''' p = re.compile(r'\d+') print '找出所有的数字',p.findall('one1two2three3four4') ''' # 获取匹配的的内容-比较复杂的例子 ''' unicodePage ='i am a boyi am...
分类:编程语言   时间:2015-02-23 22:30:29    阅读次数:273
在ServiceManager中加入自定义的服务
当我们要使用android的系统服务时,一般都是使用Context.getSystemService方法。例如我们要获取AudioManager,我们可以: AudioManager?am?=?(AudioManager)?getSystemService(Context.AUDIO_SERVIC...
分类:其他好文   时间:2015-02-23 14:21:28    阅读次数:185
SGU[151] Construct a triangle
Description描述Find coordinates of any triangle ABC if it is know that |AB|=c, |AC|=b, |AM|=m, AM is a median of triangle.找到任何一个三角形ABC,使得它满足|AB| = c,|AC...
分类:其他好文   时间:2015-02-22 13:20:04    阅读次数:140
C Language Study - 字符数组及字符串定义方法
定义一个字符数组: char cArray[] = {'I','a','m','a','m','a','n','\0'}; 用'\0'表示字符数组结束标志。它不占字符长度大小,但是占内存大小。 Result : sizeof(cArray) = 8 ; strlen(cArray) = 7 . 字符串定义方法: (1) char cString[] = "I am a Man !";...
分类:编程语言   时间:2015-02-20 11:57:46    阅读次数:140
Openjudge-计算概论(A)-单词倒排
描述:编写程序,读入一行英文(只包含字母和空格,单词间以单个空格分隔),将所有单词的顺序倒排并输出,依然以单个空格分隔。输入输入为一个字符串(字符串长度至多为100)。输出输出为按要求排续后的字符串。样例输入I am a student样例输出student a am I思路:首先把字符串先反转,从...
分类:其他好文   时间:2015-02-18 19:52:31    阅读次数:499
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!