码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
计算数组最大值
d3.max = function(array, f) {var i = -1, n = array.length, a, b;if (arguments.length === 1) {//取数组中第一个非undefined数值while (++i a) a = b;} else {while (....
分类:其他好文   时间:2014-07-23 15:40:19    阅读次数:226
linux C(hello world)最大公约数和最小公倍数
# include int main(void){ int x, y,temp; int r; printf("请输入两个正整数:\n"); scanf("%d %d", &num1, &num2); r = num1 % num2; temp = num2; while(r!=0) { nu...
分类:系统相关   时间:2014-07-23 15:16:56    阅读次数:267
Proxy settings in TortoiseSVN and command line svn client
The server file is created when you install TortoiseSVN, Eclipse or command-line Subversion. Use the appropriate path from the installation folder to ...
分类:其他好文   时间:2014-07-23 15:15:56    阅读次数:292
C语言的printf输出格式控制
C语言的printf输出格式控制printf大家都耳熟能详,但是能真正将其用法弄透的估计很少见。转一篇,改天整理。1.转换说明符%a(%A)浮点数、十六进制数字和p-(P-)记数法(C99)%c字符%d有符号十进制整数%f浮点数(包括float和doulbe)%e(%E)浮点数指数输出[e-(E-)...
分类:编程语言   时间:2014-07-23 15:13:36    阅读次数:244
JavaScript
1. 变量提升: 只对var声明的变量有效。 2. 标识符:数字,下划线,unicode字母,数字不能开头。 3. switch与case的值比较使用严格相等=== 4.do{}while(); 记住加分号。 5. 标签top: 使用break top; 跳到标签 6.数据类型number,stri...
分类:编程语言   时间:2014-07-23 15:05:56    阅读次数:208
字符通向字节流的桥梁---- OutputStreamWriter
OutputStream out = System.out; OutputStreamWriter osw = new OutputStreamWriter(out); BufferedWriter w = new BufferedWriter(osw); osw.write(line.toUppe...
分类:其他好文   时间:2014-07-23 15:05:46    阅读次数:201
错误解决:android.view.InflateException: Binary XML file line #11: Error inflating class com.tony.timepicker.TimePicker
今天在做项目开发时遇到这么一个错误,完整的错误提示信息如下:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tony.timepicker/com.tony.timepicker.MainActivity}...
分类:移动开发   时间:2014-07-23 14:55:57    阅读次数:328
document.write() 和 document.writeln() 区别
document.write()和document.writeln()有什么区别解决思路: 两者都是JavaScript向客户端输出的方法,对比可知写法上的差别是一个ln--line的简写,换言之,writeln 方法是以行输出的,相当于在 winte 输出后加上一个换行符。具体步骤:1.打开一个....
分类:其他好文   时间:2014-07-23 14:54:36    阅读次数:505
使用语句修改数据表结构
查询表信息:sp_help 'dbo.T_User';修改columnName 字段为空alter table dbo.T_User alter column columnNamedatetime null;修改columnName 默认值ALTER TABLE dbo.T_User ADD CON...
分类:其他好文   时间:2014-07-23 14:47:46    阅读次数:175
将字节流转换成字符流
readLine方法是字符流BufferedReader类中的方法 键盘read方法是字节流InputStream的方法。 能不能将字节流转换成字符流,在使用字符流缓冲区的readLine方法? InpuStream in = System.in; //将字节流对象转换成字符流 InputStrea...
分类:其他好文   时间:2014-07-23 14:45:56    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!