Run Time Check Failure

47ac448f6d4fedf29eea76b6e82d47df
0
iceboylsg 101 Oct 27, 2009 at 19:31

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>?

3 Replies

Please log in or register to post a reply.

Ceee4d1295c32a0c1c08a9eae8c9459d
0
v71 105 Oct 27, 2009 at 19:52

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

17ba6d8b7ba3b6d82970a7bbba71a6de
0
vrnunes 102 Oct 27, 2009 at 20:17

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);
47ac448f6d4fedf29eea76b6e82d47df
0
iceboylsg 101 Oct 28, 2009 at 14:12

oh ty..i fixed it..