help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I get a segmentation fault if I dont use printf


From: red floyd
Subject: Re: I get a segmentation fault if I dont use printf
Date: Tue, 06 Jun 2006 20:55:49 GMT
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

aamircheema@gmail.com wrote:
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.


You have an error on line 42. What is your program doing? Post some sample code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]