@interface Score : NSObject { int _cscore; int _ocscore; } @end @implementation Score @end@interface Person : NSObject { int _cscore; int _ocscore;//这两行代码可以用 Score *_score替代,这个“_score”要用大写吗?这个和上面的类一样,要怎么理解? int _age; } @end @implementation Person @end
|