My following C++ program, which needs two input files, is giving segmentation fault when it is compiled with g++ or gcc.
I am unable to locate the error with gdb, either.
Program received signal SIGSEGV, Segmentation fault.
0x7c901278 in _libmsvcrt_a_iname ()
It does not give the line number where the error is, in the program.
I have tried out commenting all pieces of code, still the error does not disappear.
Please help me up with this error, I don't have the will to figure that out right now, at all.