说我有一类称为Money具有参数Dollars和Cents
Money
Dollars
Cents
我可以通过以下两种方式初始化它:
我的问题是我应该何时使用(1)以及何时使用(2)
c++ new-operator
c++ ×1
new-operator ×1