Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tynilosio on November 06, 2011, 12:17:28 am

Title: Warnings
Post by: tynilosio on November 06, 2011, 12:17:28 am
warning: 'x' is used uninitialized in this function
warning: 'y' is used uninitialized in this function
warning: 'v' is used uninitialized in this function

Why have I these warnings?
Thanks!
Title: Re: Warnings
Post by: oBFusCATed on November 06, 2011, 01:16:40 am
Read your code and you'll understand.
Also read the docs for your compiler explaining why you get this warning.
Title: Re: Warnings
Post by: tynilosio on November 06, 2011, 01:24:10 am
i can't understad. I have done it of several ways, but I always have the same warning.
Can I show you the preogram?
Title: Re: Warnings
Post by: oBFusCATed on November 06, 2011, 02:08:48 am
No you can't, because this is not a general programming forum. Sorry.
Title: Re: Warnings
Post by: tynilosio on November 06, 2011, 02:13:11 am
and where can i find an answer?
Title: Re: Warnings
Post by: oBFusCATed on November 06, 2011, 02:22:31 am
Google or your favorite search engine. And as I've said read the compiler's manual.
Title: Re: Warnings
Post by: zabzonk on November 06, 2011, 09:05:12 am
Try a site like http://www.reddit.com/r/learnprogramming - and when you do, post the code that causes the problem.