The constructor did not inialize the local variables; flags, no, nu, nw, m, nv.
In Windows XP, with Visual Studio 2007 I am compiling and running the code inside of the editor successfully. However when i run the program by double clicking, I think because of these non-initialized variables at a point these variables take various values and program crashes.
In fact when I put initialization code for these variables, 0 for them at the constructor, line 95, the problem is solved for me.
Log in to post a comment.