关键字 h文件 的文章


由   YIem   撰写于    浏览:4839  评论:0

由   YIem   撰写于    浏览:3051  评论: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   撰写于    浏览:3704  评论:0
//// AppDelegate.h// UI7_页面跳转//// Created by YIem on 15/12/15.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppD[...]

由   YIem   撰写于    浏览:4083  评论:0
Objective-C(新)Objective-C考试 ※ 选择题(共80题,每题1分)1、不会立刻使引用计数器改变的是:答案:(C) A、release B、alloc C、autorelease D、retain2、OC中布尔(BOOL)类型的变量的值只有:答案:(B) A、1/0 B、YES/NO C、true/false D、1/-13[...]

由   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   撰写于    浏览:3877  评论: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   撰写于    浏览:4213  评论:0
.h文件/// 打印数组// 参数1: 数组类型// 参数2: 元素个数void printArray(int a[], int count);/// strcpyvoid stringCopy(char s1[], char s2[]);

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

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