Help for the anoying 'Run-Time Check Failure #3'

  • Thread starter PH.D.Condidater.Li.Ning
  • Start date
P

PH.D.Condidater.Li.Ning

Hi,
all,

I am using an uninitialised variable that generating a 'Run-Time Check
Failure #3' when the
debug version is running. The code is complex and changing it would be
risky, so
how do I turn off this annoying run time check?

in platform : vista + visual studio 2005

best regards,
Ning
 
A

Alf P. Steinbach

* PH.D.Condidater.Li.Ning:
Hi,
all,

I am using an uninitialised variable that generating a 'Run-Time Check
Failure #3' when the
debug version is running. The code is complex and changing it would be
risky, so
how do I turn off this annoying run time check?

Don't. Fix the code. You identified a bug, symptomatic of Undefined
Behavior, and you can not trust any results from the code as it is.

If the code is too complex too fix, replace it with something simpler.

Cheers, & hth.,

- Alf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top