Dear Yu-Ching,
The first thing to check is whether there are out of bound errors at
run time.
Which OS do you use ?
If you use Linux or Mac OS X, you may try to "valgrind" your code
(
http://valgrind.org/).
If you use Windows, similar tools like Boundchecker or even some
features of Visual C++ might help you to detect out of bound errors.
Best regards.
Nicolas Omont.
--
Nicolas OMONT
Artelys, distributor of Knitro
12 rue du Quatre Septembre
F-75002 Paris
Tel :
+33.1.44.77.89.00
Fax :
+33.1.42.96.22.61
http://www.artelys.com