码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
ajax2
远程访问500,404:错误信息,看得见;100,300,200:成功,看不见。ZMLHttpQequest对象属性:readyState对象状态(integer)0=未初始化 1=读取中 2=已读取 3=交互中 4=完成
分类:其他好文   时间:2014-05-10 06:45:03    阅读次数:243
编译apache报APR not found
configure: error: APR not found. Please read the documentation. configure: error: APR-util not found. Please read the documentation....
分类:其他好文   时间:2014-05-10 04:20:35    阅读次数:316
Linux之部分shell脚本练习
#键盘键入两个整数,并计算它们之和#!/bin/bash##echo-n"InputtwoIntergers:"read-t5-p"InputtwoIntergers[100and200]:"AB[-z$A]&&A=100[-z$B]&&B=200echo"$Aplus$Bis:$[$A+$B]"#归档文件的脚本#!/bin/bash#read-p"Threefiles:"FILE1FILE2FILE3read-p"Destinat..
分类:系统相关   时间:2014-05-10 04:08:25    阅读次数:475
poj1988
#includeusing namespace std;const int maxn = 30000+100;int F[maxn], D[maxn], S[maxn];void set(int n){ for(int i =0 ;i >P; char c; int a, b; while(P--)...
分类:其他好文   时间:2014-05-10 02:56:28    阅读次数:313
Kendo UI diagram 更改connnect线颜色,及shapes的属性值
1、改diagram中连线的颜色:redraw一下就OK// Change the Line Greendiagram.connections[indexS].redraw({stroke:{color:"green"}});diagram.connections[indexD].redraw({s...
分类:其他好文   时间:2014-05-10 02:29:49    阅读次数:414
Andorid类似Fragment替换布局方法
public void replaceRightView(View v) { int f = LinearLayout.LayoutParams.MATCH_PARENT; LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(f, f); LinearLayout fragment_place = (Line...
分类:其他好文   时间:2014-05-09 22:50:20    阅读次数:332
C语言实现状态设计模式
#include #include #include #ifndef VIRTUAL #define VIRTUAL #endif #ifndef DELETE #define DELETE(X) do { free(X);X = NULL; } while(0) #endif #define NEW(TYPE,pInstance,SUBTYPE) struct TYPE* pInst...
分类:编程语言   时间:2014-05-09 22:29:48    阅读次数:455
分行模块,自动识别英文和型号数[推荐精华]
Function cuttextlen(intext, lens) If Len(intext) cuttextlen = intext Else tmptext = intext GetTexts = "" Do While Not Len(tmptext) GetTexts = GetTexts + Left(tmptext, lens) tmptext = Right...
分类:其他好文   时间:2014-05-09 22:22:08    阅读次数:320
编写自己的cp命令
有时候要对整个目录做备份,修改cp1.c使得当两个参数都是目录时,把第一个目录中的所有文件复制到第二个目录中,文件名不变。那么该如何实现? 我们先来看看cp1.c的实现方式,它从一个文件中读取数据然后写到另一个文件中,通过系统调用open(或者creat)、read、wirte...
分类:其他好文   时间:2014-05-09 20:41:43    阅读次数:460
案例------触发器
insert 触发器示例create trigger tri_inserton studentfor insertasdeclare @student_id char(10)select @student_id=s.student_id fromstudent s inner join insert...
分类:其他好文   时间:2014-05-09 19:43:53    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!