Jump to content


Run Time Check Failure


3 replies to this topic

#1 iceboylsg

    New Member

  • Members
  • PipPip
  • 21 posts

Posted 27 October 2009 - 07:31 PM

hmm..i have a question. When i debuging my code...come out a 1 error. i write Run Time Check Failure#3 the variable source is being used without being initialized. what does this mean>?

#2 v71

    Valued Member

  • Members
  • PipPipPipPip
  • 353 posts

Posted 27 October 2009 - 07:52 PM

basically , it measn what its written , you have declared a variable and you didn't use, check your debugging level warning .

#3 imerso

    Senior Member

  • Members
  • PipPipPipPip
  • 431 posts
  • LocationBrasil

Posted 27 October 2009 - 08:17 PM

No, it means you used the variable before initializing it.

// example (wrong)
int a;
printf ("%u", a);

You should initialize the variable before using it. Like:

// example (right)
int a = 0;
printf ("%u", a);


#4 iceboylsg

    New Member

  • Members
  • PipPip
  • 21 posts

Posted 28 October 2009 - 02:12 PM

oh ty..i fixed it..





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users