搜索

首页  >  问答  >  正文

objective-c - Objective-c的复合疑问

雷雷
漂亮男人漂亮男人2844 天前557

全部回复(1)我来回复

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:29:46

    rect 又不是成员变量,而且你又注掉了Rectangle *rect = [[Rectangle alloc] initWithWidth:s Height:s]; 当然打不出了[sq area]和[sq perimeter]

    回复
    0
  • 取消回复