创建新对象的正常方法:std::stringdate1="10/1/2010";日期d1(stringToChar(date1);但我不知道如何在结构中使用它。结构:structRecPayments{std::stringname;Datedatemake();floatcost;};尝试像这样使用它:voidaddRecurring(){//NewrecurringpaymentRecPayments*newPaymentItem=newRecPayments;//SetrecurringpaymentpropertiesnewPaymentItem->name="TestPaym