Simulate EOF in terminal
Hi there! This is just a quick note to remember in the future!
You can simulate an EOF with:
Windows = Ctrl-Z
Unix = Ctrl-D
This is while you have opened a terminal of course and you check for EOF in your C program!
Cheers!