创建一个BOOK对象,对其属性进行声明 定义。
@property 属性声明 定义了对属性的赋值
-(void) dealloc 方法在对象销毁的时候进行调用;
#import
@interface Book : NSObject
@property (nonatomic,assign) int price;
@end
#import "Book.h"
@imp...
分类:
其他好文 时间:
2014-06-16 12:05:04
阅读次数:
271
1.01 对象//js中你最重要的就是对象//对象是名/值对的集合,或字符串到值得映射的集合var book={ name:"神雕侠侣", type:"武侠"};//通过“.”或者“[]”来访问对象属性alert(".访问:"+book.name+"\n[]访问:"+book["type"]);1....
分类:
其他好文 时间:
2014-06-15 21:42:15
阅读次数:
232
Strange Way to Express IntegersTime Limit:1000MSMemory Limit:131072KTotal Submissions:9472Accepted:2873DescriptionElina is reading a book written by R...
分类:
其他好文 时间:
2014-06-15 21:22:33
阅读次数:
272
转自:http://news.cnblogs.com/n/210346/1.笨办法学 Pythonhttp://learnpythonthehardway.org/book/有各种练习题你将会会学到:在所有的平台上安装 Python 编程环境写 Python 程序理解 Python 语法和文档像一个...
分类:
编程语言 时间:
2014-06-15 18:10:32
阅读次数:
394
需求如下:查询book表信息,同时关联entitystags表,以entitystags的字段eid关联book的主键,再关联查询tags表,以entitystags表的tid字段关联tags表的主键id同时读出这三张表的信息来,在Yii可以如下处理,先在relations方法中声明三张表的关系,在...
分类:
其他好文 时间:
2014-06-15 06:49:25
阅读次数:
274
expression="execution(* *..Book.save(..))"/>
或者
都会用到* *..Book.save(..) 或com.bky.service..*
直接点来瞅瞅.. ..*这些是什么意思
如execution(* *..books.save(..))
第一颗* 返回值可任意,
*..books ...
分类:
编程语言 时间:
2014-06-13 21:24:39
阅读次数:
323
数据知识管理平台-元数据管理-fdm_search_info_w_book_chain-详细信息
fdm_search_info_w_book_chain
分类:
其他好文 时间:
2014-06-13 06:08:10
阅读次数:
191
1 -- 创建表book的Transact-SQL语句: 2 create database
test01 3 create table test01.dbo.book( 4 book_id nchar(6) not null, 5 book_name
nchar(30) null, ...
分类:
数据库 时间:
2014-06-12 18:13:07
阅读次数:
640
比如: <c:forEachitems="${allBook}"var="book"varStatus="status"> <tr> <td><c:outvalue="${status.count}"/></td> <td><c:outvalue="${book.title}"/></td> <td><c:outvalue="${book.code}"/><..
分类:
Web程序 时间:
2014-06-10 23:45:39
阅读次数:
230