C
Chun-Chieh Wang
how does the '\f' affect output?
in what situation will I use '\f' ?
in what situation will I use '\f' ?
how does the '\f' affect output?
in what situation will I use '\f' ?
In said:how does the '\f' affect output?
in what situation will I use '\f' ?
"Form feed" is shorthand for something like "feed a new sheet of paper
into the printer" (implicitly meaning that the current page is ejected).
Its effect on printers using continuous paper is less well defined, but
the intent is similar. Its effect on anything else is even less well
defined.
how does the '\f' affect output?
in what situation will I use '\f' ?
If sent to a printer, it *might* eject the current page. If sent to a
terminal window, it might push the text up some number of lines.
Every time you knows that you doesn't print to a real endless streamhow does the '\f' affect output?
in what situation will I use '\f' ?
Chun-Chieh Wang said:how does the '\f' affect output?
in what situation will I use '\f' ?
In any case, the '\f' sequencee in C does none of these things; it simply causes
the compiler to substitute the appropriate form-feed character (or character
sequence) (in the hosted characterset) into the data stream. /How/ that
form-feed character (or sequence) is interpreted is undefined to C, and could
cause the launching of an ICBM instead of the advancement of a piece of paper
(should the external environment interpret it in that manner).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.