//// main.m// OC2015-11-27作业//// Created by YIem on 15/11/27.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int ma[...]
//// main.m// OC_4数组//// Created by YIem on 15/11/27.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int main(int a[...]
//// main.m// OC_4NSString//// Created by YIem on 15/11/27.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int main[...]
//// main.m// OC_3属性//// Created by YIem on 15/11/26.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Studen[...]
//// main.m// OC_NO.1//// Created by YIem on 15/11/24.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Car_1[...]
//// main.m// OC_2初始化_便利构造器//// Created by YIem on 15/11/25.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import [...]
//// main.m// OC_2方法//// Created by YIem on 15/11/25.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Person[...]
//// main.m// OC_类和对象//// Created by YIem on 15/11/24.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Perso[...]
//// main.m// C10_函数指针//// Created by YIem on 15/11/23.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "MyFu[...]
//// main.m// C9_结构体指针//// Created by YIem on 15/11/20.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>struct test [...]
//// main.m// C9_内存管理//// Created by YIem on 15/11/20.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int main(int argc[...]
//// main.m// 第七次作业//// Created by YIem on 15/11/18.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "MyACEn.[...]
//// main.m// C7_指针//// Created by YIem on 15/11/18.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>void printArray[...]
/// 两门课以上不及格void printBujige(Student stu[], int count) {// 遍历
for (int i = 0; i < count; i++) {
// 保存不及格课数
int num = 0;
// 临时学生结构体
Student s = stu[i];
/[...]
//// main.m// C6_结构体2//// Created by YIem on 15/11/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "MyFunc.h"
//// main.m// C6_结构体//// Created by YIem on 15/11/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>
.h文件/// 1.void max20();int returnMax20();/// 3.void inputNum1();void inputNum2(int a);.m文件void max20() {int max = 0;
for (int i = 0; i < 20; i++) {
int a = arc4random()[...]
//// main.m// C_5函数//// Created by YIem on 15/11/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>// 函数 的四大结构/// [...]
//// main.m// C5_函数2//// Created by YIem on 15/11/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>/// 求和int sum([...]