码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
【OC基础】01-类的声明和实现
一、语法简介1.类在OC中,一般用二个文件描述一个类,一个是.h文件,一个是.m文件爱你:1>:.h文件是类的声明文件,用于声明变量和方法。类的声明使用关键字@interface和@end。2>:.m文件是类的实现文件,用于实现.h类中声明的方法。类的实现使用关键字@implementation和@...
分类:其他好文   时间:2015-05-02 12:24:16    阅读次数:136
在同一个sql语句中如何写不同条件的count数量 (转)
select sum(case when (t.条件字段='00') then 1 else 0 end)"描述名称1", sum(case when (t.条件字段='01') then 1 else 0 end)"描述名称2" from 表名 t...
分类:数据库   时间:2015-05-02 06:18:28    阅读次数:139
用Python画出笑脸
from turtle import *penup()goto(0,-200)pendown()circle(200)penup()goto(-100,50)pendown()begin_fill()circle(17.5)end_fill()penup()goto(100,50)pendown()...
分类:编程语言   时间:2015-05-01 23:42:45    阅读次数:3212
【蓝桥杯竞赛】细菌繁殖
#include#includeint main(){ int day_Month[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int day_Start, month_Start; int day_End, month_End; in...
分类:其他好文   时间:2015-05-01 21:11:08    阅读次数:241
防止库存出现负数,需添加代码
其它已添加完毕,原药店软件程序、汽配软件程序要添加下列代码,在入库、出库、退货窗口onclose事件处添加://再执行一次查询,防止删除出错 if Frm_rukuchaxun.showing=true then begin Frm_rukuchaxun.Button1.Click(); end;
分类:其他好文   时间:2015-05-01 18:40:34    阅读次数:122
UI之UIAlertView--提示框
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () // 签UIAlertViewDelegate协议 4 // 协议方法按住comm键,用鼠标点进去看 5 @end 6 @implementation AppDelegate 7 -...
分类:其他好文   时间:2015-05-01 14:38:47    阅读次数:379
HDU ACM 1530 Maximum Clique->最大团
分析:最大团的模版题,DFS深搜。 #include using namespace std; #define N 55 int map[N][N]; int set[N]; int max; bool IsConnect(int end,int v) { int i; for(i=0;i<end;i++) if(!map[set[i]][v]) return false; ...
分类:其他好文   时间:2015-05-01 13:27:54    阅读次数:157
VBA第五课 select多条件判断
Sub select多条件判断() Select Case Sheet1.[b1].Value Case Is > 0 MsgBox "大于0" Case Else MsgBox "小于或等于0" End Select End Sub Sub select多条件判断2() Select Case Sheet1.[b1].Value Case "12" Sheet1.[a1] = "你输入的值...
分类:编程语言   时间:2015-05-01 12:02:52    阅读次数:177
case when then else end 用法--很好
CASE命令有两种语句格式。语法形式1:CASE expressionWHEN expression_11 THEN expression_12…WHEN expression_n1 THEN expression_n2[ELSE expression_m]END该语句的执行过程是:将CASE后面表...
分类:其他好文   时间:2015-05-01 11:55:42    阅读次数:116
Unity Shader 入门
To be more specific, a Shader defines:The method to render an object. This includes using different methods depending on the graphics card of the end ...
分类:编程语言   时间:2015-05-01 07:00:27    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!