摘要: part 2 结果: 总结: 1、如果用a.xxxxx,会出现[Error] request for member 'getNickname' in 'a', which is of pointer type 'PetCats*' (maybe you meant to use '->' ?); 2 阅读全文