i meant to reply in this thread not the other one thank you cat you solved it
i meant to reply in this thread not the other one thank you cat you solved it
mutantjohn do you program for a living?
why don't you work as a coder if that is your hobby????
Regardless of my career struggles, did you ever fix your code?
One thing I recommend you do is figure out how to increase the warning levels of your compiler. Never ever ever ever use a variable before it's initialized. Or to be more specific, never read from a variable before it has been written to.
I know with gcc you can use the -Wall and -Wextra flags to increase warnings.