nr3.h vs nr.h


amirvahid
03-03-2010, 09:30 AM
Dear All,
I am using an extremely big c++ project that is using the old version of numerical recipes, i.e., "nr.h, nrtype.h, etc...". I have to add some new parts to this project but I want to implement "nr3.h" not "nr.h" version in these new parts. However, when I include nr3.h to the project it gives me some errors such as "redefinition" ones which basically happens b/c some parts of "nr.h" and "nr3.h" are the same. It is also tedious to update the old parts to use "nr3.h" . Is there a way to use the new one in new sections of the project w/o encountering these problems?

Thanks