I guess you might have better luck with your program if you ask some C forum for help.