一、语法简介1.类在OC中,一般用二个文件描述一个类,一个是.h文件,一个是.m文件爱你:1>:.h文件是类的声明文件,用于声明变量和方法。类的声明使用关键字@interface和@end。2>:.m文件是类的实现文件,用于实现.h类中声明的方法。类的实现使用关键字@implementation和@...
分类:
其他好文 时间:
2015-05-02 12:24:16
阅读次数:
136
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
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
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () // 签UIAlertViewDelegate协议 4 // 协议方法按住comm键,用鼠标点进去看 5 @end 6 @implementation AppDelegate 7 -...
分类:
其他好文 时间:
2015-05-01 14:38:47
阅读次数:
379
分析:最大团的模版题,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
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命令有两种语句格式。语法形式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
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