C:\Documents and Settings\Administrator>sqlplus
/nologSQL*Plus: Release 10.2.0.1.0 - Production on 星期一 7月 5 09:50:36
2010Copyright (c) 1982, 2005, Ora...
分类:
数据库 时间:
2014-06-07 05:20:01
阅读次数:
334
break break如果用于循环适用于终止循环
break如果用于switch,则是用来终止switch break不能直接用于if,除非if属于循环内部的一个子句 如 if (表达式) break 是错误的
1 # include 2 3 int main (void) 4 { 5 i...
分类:
编程语言 时间:
2014-06-07 03:54:36
阅读次数:
268
【题目】
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
【题意】
给定一个非负整数,这个表示为一个数字数组。计算这个整数加1后的值。
【思路】
从低位到高位依次相加,注意处理进...
分类:
其他好文 时间:
2014-06-05 01:24:44
阅读次数:
250
第十三章编程练习答案
13.1根据Cd基类,完成派生出一个Classic类,并测试
//13.1根据Cd基类,完成派生出一个Classic类,并测试
#include
#include
using namespace std;
// base class
class Cd
{
char performers[50];
char label[20];
int selections; ...
分类:
编程语言 时间:
2014-06-04 23:45:54
阅读次数:
490
表驱动法是一种编程模式,从表里面查找信息而不是使用逻辑语句(if…else…switch),当是很简单的情况时,用逻辑语句很简单,但如果逻辑很复杂,再使用逻辑语句就很麻烦了。比如查找一年中每个月份的天数,如果用表驱动法,完全不需要写一堆if…else…语句,直接把每个月份的天数存到一个数组里就行了,...
分类:
其他好文 时间:
2014-06-04 19:31:30
阅读次数:
394
Given a non-negative number represented as an
array of digits, plus one to the number.The digits are stored such that the most
significant digit is at...
分类:
其他好文 时间:
2014-06-04 19:19:52
阅读次数:
185
1.前言
在android4.0以后,有switch控件,类似于iPhone上面滑块的效果,但是只能用在4.0以后的系统中,之前的平台,就无法使用
这种控件。近段时间,看到了小米3手机上自带的计算器app,有这样的效果,上面的一个控件,觉得很漂亮,并且与iPhone上的效果略有不同,于是自己动手编写了一下这个功能,最好在编写的工程中,参考过网上的一些demo,运行后,在控件滑动的时...
分类:
移动开发 时间:
2014-06-03 04:09:29
阅读次数:
359
$act=!empty($_GET['act']) ? trim($_GET['act']) : '';
switch($act) {
case 'adda':
$area['a_value'] = trim($_POST['a_value']);
$area['a_type']=3;
if(strpos($area['a_value'], "\n") === false) ...
分类:
Web程序 时间:
2014-06-03 00:46:17
阅读次数:
297
JavaScript timer运用示例: 1 2 3 4 5
switch多重判断语句+timer 6 19 33 34 35 36 37 61 62 63 64
分类:
其他好文 时间:
2014-05-28 20:30:13
阅读次数:
314
原文地址:http://www.fengfly.com/plus/view-209437-1.html要用到下面两个类:DeviceAdminReceiver设备管理组件。这个类提供了一个方便解释由系统发出的意图的动作。你的设备管理应用程序必须包含一个DeviceAdminReceiver的子类。本...
分类:
移动开发 时间:
2014-05-26 18:26:32
阅读次数:
289