摘要:
模板方法模式(template method pattern) 详细解释本文地址: http://blog.csdn.net/caroline_wendy模板方法模式(template method pattern): 在一个方法中定义一个算法的骨架, 而将一些步骤延迟到子类中. 模板方法使得子类能 阅读全文
posted @ 2017-04-19 10:13
brucemengbm
阅读(250)
评论(0)
推荐(0)
摘要:
// // main.m // /* 将两个字符串 NSString * str1 = @"123"; NSString * str2 = @"abc"; 拼接成⼀一个完整的字符 串。 */ #import <Foundation/Foundation.h> int main(int argc, c 阅读全文
posted @ 2017-04-19 08:57
brucemengbm
阅读(6576)
评论(0)
推荐(0)
摘要:
Martian Addition Time Limit: 2 Seconds Memory Limit: 65536 KB In the 22nd Century, scientists have discovered intelligent residents live on the Mars. 阅读全文
posted @ 2017-04-19 08:10
brucemengbm
阅读(198)
评论(0)
推荐(0)