A
aamircheema
Hi,
I have written a program (my first big program in c++). When I run the
program it gives segmentation fault but when i use a printf statement
to debug the program, it runs normally. I am very confused that what
may be the reason?
Of course I dont want to use printf because it is in loop and prints so
many things which I don't want.
Any Ideas?
Thanks,
Aamir
I have written a program (my first big program in c++). When I run the
program it gives segmentation fault but when i use a printf statement
to debug the program, it runs normally. I am very confused that what
may be the reason?
Of course I dont want to use printf because it is in loop and prints so
many things which I don't want.
Any Ideas?
Thanks,
Aamir