- 博客(7)
- 收藏
- 关注
转载 Objective-C程序设计 CH12.2-12.6
12.2 #define MINI(N1,N2) ( ((N1)<(N1)) ? (N1) : (N2) ) int main(int argc, const char * argv[]) { @autoreleasepool { NSLog(@"Min = %d ",MIN(4, 1)); ...
2018-09-13 15:24:26 114
转载 Objective-C程序设计 CH10.4
Code: (Objective-C) // Chapter 10 Exercise 4 // Using typedef and enumerated data types, define a type called Day with the possible // values Sunday, Monday, Tuesday, Wednesday, Th...
2018-09-13 14:51:39 112
转载 Objective-C程序设计 CH6.4
Code: (Objective-C) int main(int argc, const char * argv[]) { @autoreleasepool { double value; char operator; Calculator *de...
2018-09-13 14:08:16 189
转载 Objective-C程序设计 CH5.8
Code: (Objective-C) /* Programming in Objective-C, 4th edition Chapter 5 Exercise 8 Program to calculate the sum of the digits of an integer */ #import <Foundation/Foundation.h> ...
2018-09-13 13:35:42 116
转载 Objective-C程序设计 CH5.2
Code: (Objective-C) // Chapter 5 Exercise 2 // A triangular number can also be generated for any integer value // of n by this formula: // triangularNumber = n (n + 1) / 2 // For e...
2018-09-13 13:24:42 112
转载 Objective-C程序设计 CH4.7
Code: (Objective-C) /* Programming in Objective-C, 4th edition Chapter 4 Exercise 7 */ #import <Foundation/Foundation.h> //---- @interface sec...
2018-09-13 13:07:12 112
转载 Objective-C程序设计 CH4.6
Code: (Objective-C) // Chapter 4 Exercise 6. // Complex numbers are numbers that contain two components: // a real part and an imaginary part. If a is the real component // and b is the imag...
2018-09-13 12:30:56 128
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人