c++ - Escape sequence \f - form feed - what exactly is it? -
\f
said form feed. \t
tab, \a
beep, \n
newline. form feed - \f
? following program
#include <iostream> int main() { std::cout << "hello\fgoodbye" << std::endl; }
prints hello
female sign (an upside down holy hand grenade:) , goodbye
on 1 line.
it skips start of next page. (applies terminals output device printer rather vdu.)
Comments
Post a Comment