码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
简单计算器的设计
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel *show;@end@implementation ViewController - (voi...
分类:其他好文   时间:2014-07-16 20:41:43    阅读次数:186
Pascal小游戏 不要消灭星星
不要消灭星星 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
Pascal小游戏 打飞机
一个经典的打飞机游戏(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
常见算法用Pascal实现
基本算法 这些都是非常基本的的算法,希望所有学习的人都能理解! 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
Pascal游戏 大富翁MUD
大富翁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
【leetcode】Binary Tree Maximum Path Sum
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
Oracle获取表结构信息:表名、是否视图、字段名、类型、长度、非空、主键
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
斯坦福 IOS讲义 课件总结 一
1,引入文件,#import IOS7 中可以这样写@import Foundation;2,在.h文件引入的是公用的,在.m文件里面引用的是本类私有的。私有属性声明@interface Card()//在这里面声明@property (strong) NSString *contents;@end...
分类:移动开发   时间:2014-07-12 14:51:30    阅读次数:260
在制作只有一页的WORD小报时再添加一页
很简单,如果你制作的是一个只有一页的WORD小报,而忽然间你又想再添加一页,你可以按下Ctrl+HOME,然后按Ctrl+ENTER;或者按下Ctrl+END,然后按Ctrl+ENTER。其他的,想来你知道该怎么做了......
分类:其他好文   时间:2014-07-10 18:29:14    阅读次数:174
用ios代码做view
import“ViewController.h"@interface ViewController()@end@implementation ViewController-(void)viewDidload{[super viewDidload];UIView *redview=[[UIView a...
分类:移动开发   时间:2014-07-10 15:48:47    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!