CDbConnection: 一个抽象数据库连接 CDbCommand: SQL statement CDbDataReader: 匹配结果集的一行记录 CDbTransaction:数据库事务 访问数据库前需要建立数据库连接;使用DAO建立一个抽象数据库链接: $connectio...
分类:
数据库 时间:
2014-08-15 19:46:59
阅读次数:
354
8–1.条件语句. 请看下边的代码 # statement A if x > 0: # statement B pass elif x 0 , 上面哪个语句将被执行? 答:a: A,C,Eb: A,D,Ec: A,B,E8–2. 循环. 编写一个程序, 让用户输入三个数字: (f)rom, (t)....
分类:
编程语言 时间:
2014-08-14 13:24:38
阅读次数:
295
在Fedora 13 系统上编译busybox(非交叉编译)产生错误
root@localhost # make
...
gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wularations -Wdeclaration-after-statement -Wold-style-defini...
分类:
其他好文 时间:
2014-08-13 13:11:46
阅读次数:
315
packagecom.shopping.util;importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.PreparedStatement;importjava.sql.ResultSet;importjava.sql.SQLException;importjava.sql.Statement;publicclassDB{ static{ try{ Class.forName("com.mysql.jdbc.Drive..
分类:
数据库 时间:
2014-08-12 03:31:24
阅读次数:
274
先上题目:Binary Search Heap ConstructionTime Limit:5 Seconds Memory Limit:32768 KBRead the statement of problem G for the definitions concerning trees. In...
分类:
其他好文 时间:
2014-08-11 23:57:23
阅读次数:
895
intialization循环变量的初始condition循环条件(满足条件重复执行)increment循环变量的增量4.statement循环体5.while(<#condition#>){<#statements#>}initialization在while之前进行循环变量初始化;之后while后面小郭号里面condition:循环条件,当条件满足时去执行..
分类:
其他好文 时间:
2014-08-11 03:02:22
阅读次数:
288
"that are all of the same length" is the key. This statement makes everything much simpler. And, please take care that L may contain duplicated string...
分类:
其他好文 时间:
2014-08-08 15:33:46
阅读次数:
176
确定文件中一行的长度。LRECL= specifies the physical line length of the file. LINESIZE= tells the INPUT statement how much of the line to read.DropOver以及不用此选项的默认执...
分类:
其他好文 时间:
2014-08-07 22:49:25
阅读次数:
879
看MSDN:http://msdn.microsoft.com/zh-cn/library/ms187331.aspx语法为:WAITFOR { DELAY 'time_to_pass' | TIME 'time_to_execute' | [ ( receive_statement ...
分类:
数据库 时间:
2014-08-07 12:20:19
阅读次数:
302
1、Perl
Practical Extraction and Report Language:实用摘录与报表语言
2、多行注释
(1) =需要顶格写
= description
statement;
=cut
(2)末尾的description需要顶格写
description;
print "Hello,world!\n";
description
3、数字:...
分类:
其他好文 时间:
2014-08-07 00:51:37
阅读次数:
238