阅读背景:

为什么cout <

来源:互联网 

I'm creating my first class, mainly guided by Overland's C++ Without Fear. I've made the overloaded friend ostream operator<<, which works fine. I've also overloaded the * operator, and that works fine. What doesn't work is when I try to output the result of the * operator directly:I'm creating my first class, mainly guided by O




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: