February 24th, 2003, 7:50 pm
Has anyone come accross a routine in C++ that would create an array of coupon payment dates based on the next coupon date, maturity date, and frequency. Something more robust than a naive approach of assuming that there are 365/Frequency days between coupon payments.For instance if the next coupon date is Mar 15, 2003 and Frequency is 2, then next coupons would be Sep 15, 2003; Mar 15, 2004; Sep 15, 2004, etc.Also, I would like to stay away from MFC.Thanks.