![]() QuantLib 0.3.9Getting startedReference manual |
UsageTo use QuantLib classes in your own code just add #include <ql/quantlib.hpp>
ql directory contains a file all.hpp which makes available all classes and function in the respective subdirectory.Under the Examples folder you can find examples of QuantLib usage, including input files for automake and makefiles for the Borland free compiler and Microsoft Visual C++. For the latter, project files are also available. Microsoft Visual C++A few suggestions for Visual C++ users wanting to use QuantLib into their own application:
a) select the appropriate run-time library under project settings, "C/C++" tab, "Code Generation", b) check the "Use RTTI" option under the "C++ Language" category. For VC7 (.NET) under a) Property Pages -> C/C++ -> Code Generation -> Runtime Library: please select the appropriate run-time library. b) Property Pages -> C/C++ -> Code Generation -> Basic Runtime Checks: please select "Both (/RTC1, equiv. to /RTCsu)". |
QuantLib.org![]() |
Hosted by![]() |
Documentation generated by![]() |