首页 > 问答 > 正文
过去多啦不再A梦2017-05-02 09:29:46
rect 又不是成员变量,而且你又注掉了Rectangle *rect = [[Rectangle alloc] initWithWidth:s Height:s]; 当然打不出了[sq area]和[sq perimeter]