摘要: 1.将四个学生信息的字典存入数组中,输出数据以班级:XXX,姓名:XXX,年龄:XX格式。2.删除小明此条数据,列出剩余数据,输出格式同上。3.按照班级进行排序,如果班级相同则按照年龄排序输出数据,格式同上。代码:#import int main(int argc, const char * arg... 阅读全文
posted @ 2016-01-08 13:13 零点五 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 代码:#import int main(int argc, const char * argv[]) { @autoreleasepool { NSString *name=@"wangchongyang"; NSInteger age=56; NSS... 阅读全文
posted @ 2016-01-08 13:08 零点五 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 代码:#import int main(int argc, const char * argv[]) { @autoreleasepool { NSDictionary *dic1=@{@"name":@"yang", @"... 阅读全文
posted @ 2016-01-08 13:03 零点五 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 代码:#import int main(int argc, const char * argv[]) { @autoreleasepool { NSDictionary *dic1=@{@"1-1":@"02", @"1-2... 阅读全文
posted @ 2016-01-08 12:58 零点五 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 代码:#import int main(int argc, const char * argv[]) { @autoreleasepool { //创建空可变字典 NSMutableDictionary *dic=[NSMutableDictionary dicti... 阅读全文
posted @ 2016-01-08 10:28 零点五 阅读(1993) 评论(0) 推荐(0) 编辑
摘要: 代码:#import int main(int argc, const char * argv[]) { @autoreleasepool { //创建字典 NSNumber *num=[NSNumber numberWithInt:100]; NSD... 阅读全文
posted @ 2016-01-08 10:26 零点五 阅读(1956) 评论(0) 推荐(0) 编辑