2.1.6. Specifying keyboard input
Use minus (–) as the source filename to instruct the compiler to take input from the keyboard. The default compiler mode is C.
To terminate input, enter:
An assembly listing for the keyboard input is sent to the output stream after input has been terminated if both the following are true:
If you specify an output file with the ‑o option, an object file is written. If you specify the ‑E option, the preprocessor output is sent to the output stream. If you specify the ‑o‑ option, the output is sent to the console.