#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel *show;@end@implementation ViewController - (voi...
分类:
其他好文 时间:
2014-07-16 20:41:43
阅读次数:
186
不要消灭星星 Pascal小游戏 Chaobs改编自pascal吧控制台小游戏嘛,就当是练习一下结构化的写法。program wxtw;uses crt;type zbdy=record x,y:integer; end;var n,i,x,y,t,sjs:integer; ml:char;zb: ...
分类:
其他好文 时间:
2014-07-16 19:37:07
阅读次数:
294
一个经典的打飞机游戏(1)Pascal代码十分经典,有一种街机的感觉奇葩青年的又一控制台神作。usescrt;typelist=recordty,ax:integer;end;xy=recordbx,by:integer;end;l1=array[1..4,1..5]ofchar;l2=array[...
分类:
其他好文 时间:
2014-07-16 19:36:19
阅读次数:
353
基本算法 这些都是非常基本的的算法,希望所有学习的人都能理解! 1.数论算法 求两数的最大公约数 function gcd(a,b:integer):integer; begin if b=0 then gcd:=a else gcd:=gcd (b,a mod b); end ; 求两数的最小公倍...
分类:
其他好文 时间:
2014-07-16 19:35:42
阅读次数:
665
大富翁MUD Pascal源码 Chaobs改编自百度网友作品此源码非Chaobs原创,但转载时请仍注明出处。估计90后以后就没有孩子知道MUD了。program wxtw;uses crt;type zbdy=record x,y:integer; end;var n,i,x,y,t,sjs:in...
分类:
其他好文 时间:
2014-07-14 10:07:03
阅读次数:
166
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-13 08:13:53
阅读次数:
251
select a.TABLE_NAME as "TableName", case when (select count(*) from user_views v where v.VIEW_NAME =a.TABLE_NAME )>0 then 'V' else 'U'end as "TableTyp...
分类:
数据库 时间:
2014-07-13 00:44:11
阅读次数:
308
1,引入文件,#import IOS7 中可以这样写@import Foundation;2,在.h文件引入的是公用的,在.m文件里面引用的是本类私有的。私有属性声明@interface Card()//在这里面声明@property (strong) NSString *contents;@end...
分类:
移动开发 时间:
2014-07-12 14:51:30
阅读次数:
260
很简单,如果你制作的是一个只有一页的WORD小报,而忽然间你又想再添加一页,你可以按下Ctrl+HOME,然后按Ctrl+ENTER;或者按下Ctrl+END,然后按Ctrl+ENTER。其他的,想来你知道该怎么做了......
分类:
其他好文 时间:
2014-07-10 18:29:14
阅读次数:
174
import“ViewController.h"@interface ViewController()@end@implementation ViewController-(void)viewDidload{[super viewDidload];UIView *redview=[[UIView a...
分类:
移动开发 时间:
2014-07-10 15:48:47
阅读次数:
263