I need to see your main.... You appear to have a buffer
DisplayText[25][];
I can't tell how big this is but if "buffer" is 10 chars why would you need 25 of them.. That would be 255 bytes and overrun the stack!
DisplayText[25][];
I can't tell how big this is but if "buffer" is 10 chars why would you need 25 of them.. That would be 255 bytes and overrun the stack!