关键字 m文件 的文章


由   YIem   撰写于    浏览:3048  评论:0
.main.m文件/* 定义Student类 1、属性有age,name,gender; 2、age使⽤用assign,name使⽤用retain,gender使⽤用copy; 3、重写age、name、gender的setter和getter⽅方法。 */if 0 Student *stu = [[Stude[...]

由   YIem   撰写于    浏览:2843  评论:0
//// main.m// OC_9 类的扩展//// Created by YIem on 15/12/4.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Gril[...]

由   YIem   撰写于    浏览:4729  评论:0
//// 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[...]

由   YIem   撰写于    浏览:3873  评论:0
//// 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"

由   YIem   撰写于    浏览:4210  评论:0
.h文件/// 打印数组// 参数1: 数组类型// 参数2: 元素个数void printArray(int a[], int count);/// strcpyvoid stringCopy(char s1[], char s2[]);

由   YIem   撰写于    浏览:2997  评论:0
.h文件// 5.BOOL judge();BOOL judgeNum(int a);

由   YIem   撰写于    浏览:3530  评论:0
.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()[...]