摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool {//1.对字符串“2015-09-01 08:19:10”操作,输出"08:19:10"。要求使用两种截取方式。 NSString *str1=@"2015... 阅读全文
posted @ 2016-01-11 13:14 哎呦喂i 阅读(169) 评论(0) 推荐(0) 编辑
摘要: //// main.m// 考核题//// Created by 中嘉博众集团 on 15/11/16.// Copyright (c) 2015年 com.sisp. All rights reserved.//#import #define NSLog(FORMAT, ...) printf("... 阅读全文
posted @ 2016-01-11 13:13 哎呦喂i 阅读(185) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSNumber *op1=@10; NSNumber *op2=@12.34; NSNumber *op3=@'A'; NS... 阅读全文
posted @ 2016-01-11 13:12 哎呦喂i 阅读(304) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSString *name=@"王重阳"; NSInteger age=56; NSString *work=@"道长"; ... 阅读全文
posted @ 2016-01-11 13:10 哎呦喂i 阅读(462) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool {NSDictionary *dic1=@{@"name":@"小阳", @"class":@"IOS6", @... 阅读全文
posted @ 2016-01-11 13:07 哎呦喂i 阅读(348) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSDictionary *dic=@{@"1-1":@"02", @"1-2":@"11", @"1... 阅读全文
posted @ 2016-01-11 13:04 哎呦喂i 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSMutableDictionary *mudic=[[NSMutableDictionary alloc]initWithObjectsAndKeys... 阅读全文
posted @ 2016-01-11 13:03 哎呦喂i 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSMutableDictionary *mudic=[[NSMutableDictionary alloc]initWithObjectsAndKeys... 阅读全文
posted @ 2016-01-11 12:59 哎呦喂i 阅读(2379) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { NSNumber *num=[NSNumber numberWithInt:100]; NSDictionary *dic=[NSDictionary... 阅读全文
posted @ 2016-01-11 12:58 哎呦喂i 阅读(473) 评论(0) 推荐(0) 编辑
摘要: #import int main(int argc, const char * argv[]) { @autoreleasepool { //数组内元素排序NSArray *arr=@[@"MON",@"TUE",@"WED",@"THU",@"FRI",@"SAT",@"SUN"]; ... 阅读全文
posted @ 2016-01-11 12:49 哎呦喂i 阅读(303) 评论(0) 推荐(0) 编辑