Hey,
I'm using the following code: Buffer size is 20 bytes
fgets(buffer,INPUT_BUFFER,stdin);
when the user inputs 20 or less characters into the console, the program runs fine.
But when the user enters the amount of characters above the buffer into the console the program automatically closes?
How can I stop this?