C++ Overloading “<<” operator twice

后端 未结 0 1191
无人及你
无人及你 2020-12-02 08:07

I would like to overwrite the "<<" operator three times. Bottle 2 should give bottle 1 some water.

For example:

Bottle bottle1(200);
Bo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题