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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -