码迷,mamicode.com
首页 >  
搜索关键字:car    ( 3306个结果
OC语法--多态的动态识别及@selector()预编译指令指定选择器
重写:子类方法覆盖父类方法,要求方法名和参数都相同。 重载:同一个类中的两个或两个以上的方法名相同,但是参数不同,方法体也不同。 多态动态识别 对象是不是aClass或其子类的成员? if([audi isKIndOfClass:[Car class]]){ NSlog(@“audi is a kind of Car"); } 对象是不是aClass成员? if([ca...
分类:其他好文   时间:2015-04-22 18:40:14    阅读次数:638
UVA624——背包DP——CD
DescriptionYou have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is on CDs. You need to have it on tapes so ...
分类:其他好文   时间:2015-04-21 22:30:40    阅读次数:193
黑马程序员 Object-C 类 (一)
/* 类名:Car属性:轮胎个数、时速(速度)行为:跑*/// 因为使用了NSObject#import // 完整地写一个函数:函数的声明和定义(实现)// 完整地写一个类:类的声明和实现// 1.类的声明 // 声明对象的属性、行为// : NSObject 目的是:让Car这个类具备创建对象的...
分类:其他好文   时间:2015-04-21 20:09:15    阅读次数:106
行业软件网
Premiership.Coach.2010-ALiAS\PrimaSoft.Calendar.Organizer.Deluxe.v3.41-Lz0\PrimaSoft.Camp.Organizer.v3.41-Lz0\PrimaSoft.Car.Organizer.Deluxe.v3.41-Lz0\#########################################联系电话Phone:13978244459QQ:5269150QQ:5269150QQ:5269150Email:fffs..
分类:其他好文   时间:2015-04-21 14:47:37    阅读次数:407
Gas Station
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:其他好文   时间:2015-04-21 00:13:37    阅读次数:266
IOS-day01_OC中类的创建以及使用
OC中定义类 1 // 设计一个车类 2 @implementation Car : NSObject 3 // 这个大括号里面写所有的属性 4 { 5 @public 6 int wheels ;//轮子个数 7 double speed;//时速 8 9 }10...
分类:移动开发   时间:2015-04-21 00:11:36    阅读次数:177
SICP: 第二章之序列操作:程序的共性
#lang racket;guo lv qi(define (filter predicate sequence) (cond ((null? sequence) '()) ((predicate (car sequence)) (cons (car sequence) ...
分类:其他好文   时间:2015-04-20 22:38:28    阅读次数:169
Codeforces534B:Covered Path
The on-board computer on Polycarp's car measured that the car speed at the beginning of some section of the path equals v1 meters per second, and in the end it is v2 meters per second. We know tha...
分类:其他好文   时间:2015-04-18 20:38:35    阅读次数:164
wp天气预报
akurl http://developer.baidu.com/map/index.php?title=car后台csusing System;using System.Collections.Generic;using System.IO;using System.Linq;using Syst...
分类:其他好文   时间:2015-04-18 14:30:12    阅读次数:135
leetcode------Gas Station
标题:Gas Station通过率:25.7%难度:中等There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimite...
分类:其他好文   时间:2015-04-15 22:46:35    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!