help needed in using NR in VC++


kngautham
01-06-2007, 12:47 PM
hi,

i have been trying to implement LU decomposition from NR in VC++.
the problem is in the code in NR, the arrays starts from 1 and not from 0 as in C++.

can anyone tell me how the code in NR has to be changed?
i have tried modifying the code to start from 0, but it is giving wrong results.
thanks,

Bill Press
01-06-2007, 02:09 PM
Sounds like you are trying to use the old 1992 C code, not the 2002 C++ code. The C++ code is all zero-based and works fine with VC++.