one is a variable I assigned. I'm not sure what to make of this.Code:test1.c:22: error: 'one' is used uninitialized in this function
one is a variable I assigned. I'm not sure what to make of this.Code:test1.c:22: error: 'one' is used uninitialized in this function
It means you've declared a variable (one), not initialised it to have a value. Subsequent code in the function reads that value (or compares it with something).
Oh thanks! I didn't know I had to give it a value first.