Hi
I am writing a function. I am not calling it yet.
I get an error msg count undeclared (first use in this function) when I try to use count.Code:main() { //stuff newfct() { int count = 0; array[count]; } }
Help.
Thanks
Hi
I am writing a function. I am not calling it yet.
I get an error msg count undeclared (first use in this function) when I try to use count.Code:main() { //stuff newfct() { int count = 0; array[count]; } }
Help.
Thanks
You probably have to post a compilable example, rather than some half-baked code that is obviously cut to bits with no hope of seeing what it originally looked like.
Are you actually using the gcc feature of functions inside functions?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Sorry, I got it, I misspelled it.
Shame on me.