by Cuchulainn » Wed Dec 23, 2009 5:58 pm
A user question on set up
It is pleasure to read your well-written book ?Monte Carlo Frameworks?. Here I have a question on files in #include. When all the CD files are copied to, say, C:\C++MonteCarloframework, how should I change settings in Visual studio 2008 in order to includes these files properly, for example #include "UtilitiesDJD/Geometry/Tensor.cpp".
The second question is, supposed that the path of the included files has been set, do I have to change your code to
<UtilitiesDJD/Geometry/Tensor.cpp>, or leave it as it is.
//
Answer (DJD)
Define in VS project Additional include directories to
C:\C++MonteCarloframework
under it you should then have a directory such as
C:\C++MonteCarloframework\UtilitiesDJD
regarding "" and <> just keep "x.hpp" is fine