重载operator ->请问如何 重载operator的->int a[10] ={0};char *p = a;p->1.....[解决办法]此运算符必须在类中定义重载[解决办法]在类中用友元函数实现[解决办法]发错地方了。