switch#include int main(int argc, char * argv[]){ int i; scanf("%d",&i); switch(i) { case 1: {printf("春"); break;...
分类:
移动开发 时间:
2014-07-16 21:46:08
阅读次数:
236
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-07-16 21:00:49
阅读次数:
208
switch的特点:只接受byte,shotr,int,char 语句的定义顺序可以随意的,但执行顺序还是从第一个case开始public class SwitchDemo { public static void main(String[] args) { int x = 4;...
分类:
其他好文 时间:
2014-07-16 20:56:08
阅读次数:
160
一、蓝牙技术介绍 蓝牙无线通讯包括两种模式:基础模式(BR, Basic Rate)和低功耗模式(LE, Low Energy)。 蓝牙系统包括一个Host和多个Controllers,Host包括在HCI(Host Controller Interface)与应用程序之间,Controll...
分类:
其他好文 时间:
2014-07-11 11:14:11
阅读次数:
210
-------------------------sql脚本---------------------------SELECT (CASE WHEN a.colorder=1 THEN d.name ELSE '''' END) N'表名', a.colorder N'字段序号', a.name N...
分类:
其他好文 时间:
2014-07-11 11:01:19
阅读次数:
208
BASH中的case结构,可以用于进行多项分支。case "$var" incondition1) ;;condition2) ;;*) default statments;;esac例如:#!/bin/bashecho "Hit a key, then hit return"read...
分类:
其他好文 时间:
2014-07-11 10:44:58
阅读次数:
230
这个例子出自《精通正则表达式》,做一下笔记帮助理解和记忆。第一版最简单的case就是考虑包含一对引号,那么写出来的表达式应该是这样的:".*"但是这个未免太简单了吧,会有啥问题呢?假如输入的字符串长这样结果就会出问题拉。see...Input String: "Hello" and "World" ...
分类:
其他好文 时间:
2014-07-11 09:16:39
阅读次数:
174
用邻接矩阵写的。自己慢慢理解吧#include #include using namespace std;#define CC(c) memset(c, 0, sizeof(c))const int maxn=5000;int iscut[maxn], g[maxn][maxn], low[maxn...
分类:
其他好文 时间:
2014-07-11 08:45:04
阅读次数:
206
atitit.提升开发效率---mda 软件开发方式的革命
1. 软件开发方式的革命开发工具的抽象层次将再次提升 1
2. 应用框架和其实现相分离 2
3. 目前的问题模型和代码不同步 2
4. MDA的历史及其由来 2
5. MDA的三个主要目标是:轻便性、 互操作性和可重用性。 3
6. MDA跟代码生成的不同 3
7. 问题:也许MDA不过是已有的Case Tool...
分类:
其他好文 时间:
2014-07-10 23:05:49
阅读次数:
392