+ 3

Can you tell me the use \f ?

i know that \f is used for formfeed. but what is it's significance and application?

15th Feb 2017, 2:20 PM
GeekyShacklebolt
GeekyShacklebolt - avatar
1 Réponse
+ 4
(source: http://stackoverflow.com/questions/4334370/escape-sequence-f-form-feed-what-exactly-is-it ) It's used to jump to the next page, when the cout is redirected to a printer. Or clears the screen on text-based consoles.
15th Feb 2017, 5:23 PM
Álvaro