About constructors of the IntegratorImp class in Chap. 22

An Object-oriented Approach

About constructors of the IntegratorImp class in Chap. 22

Postby taromori » Sun Aug 29, 2010 9:11 am

Dear Mr./Ms. Cuchulainn,



I am writing to ask you why constructors don't have to be declared in the "IntegratorImp" class in Chap. 22 although an object for this class is constructed in the main function of the "testIntegrator.cpp" file.



This is the same in the inheritated classes such as "TanhRule" and "MidpointRule" classes.



I know this is an elementary question, but I would appreciate it if you make time to answer to the above.



Thanks.
Attachments
integratorimp.hpp
(872 Bytes) Downloaded 582 times
testIntegrator.cpp
(2.57 KiB) Downloaded 608 times
taromori
 
Posts: 3
Joined: Sun Jul 18, 2010 4:12 pm

Return to Introduction to C++ for Financial Engineers (Duffy)

Who is online

Users browsing this forum: No registered users and 2 guests

cron