You can simulate EOF with CTRL+D
(for *nix) or CTRL+Z
then Enter (for Windows) from command line.
More Related Contents:
- Is there a good Valgrind substitute for Windows?
- How can one grab a stack trace in C?
- what’s the differences between r and rb in fopen
- How to get name associated with open HANDLE
- Can I get Unix’s pthread.h to compile in Windows?
- Win32 – Backtrace from C code
- Is there a good Valgrind substitute for Windows?
- How to copy string to clipboard in C?
- Save HBITMAP to *.bmp file using only Win32
- How to check if a pointer is valid? [duplicate]
- c programming check if key pressed without stopping program
- How to use kbhit and getch (C programming) [closed]
- How to obtain the correct physical size of the monitor?
- Do threads have a distinct heap?
- How to circumvent Windows Universal CRT headers dependency on vcruntime.h
- Why does my compiler not accept fork(), despite my inclusion of ?
- Is it possible to call a non-exported function that resides in an exe?
- Building a shared library using gcc on Linux and MinGW on Windows
- How to check if a file is already open by another process in C?
- Terminate a process tree (C for Windows)
- How do you check if a directory exists on Windows in C?
- Regex.h for windows
- How to get the %AppData% folder in C?
- C: Different implementation of clock() in Windows and other OS?
- How can I access netstat-like Ethernet statistics from a Windows program
- Is the function strcmpi in the C standard libary of ISO?
- How to make win32 console recognize ANSI/VT100 escape sequences in `c`?
- Standard data structure library in C? [closed]
- Execute program capturing screenshots from windows service
- C color text in terminal applications in windows