逃脱顺序\f - 表单feed - 究竟是什么? [英] Escape sequence \f - form feed - what exactly is it?

查看:194
本文介绍了逃脱顺序\f - 表单feed - 究竟是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

\f 被称为表单Feed。 \t 是一个选项卡, \a 是一个哔声, \\\
是一个换行符。什么是表单Feed - \f ?以下程序

\f is said to be the form feed. \t is a tab, \a is a beep, \n is a newline. What exactly is a form feed - \f? The following program

#include <iostream>
int main()
{
   std::cout << "hello\fgoodbye" << std::endl;  
}

打印 hello 然后 女性标志 (颠倒圣手榴弹 :),然后在一行上再见

prints hello then a female sign (an upside down holy hand grenade:) and then goodbye all on one line.

推荐答案

它跳到下一页的开头。 (主要适用于输出设备是打印机而不是VDU的终端。)

It skips to the start of the next page. (Applies mostly to terminals where the output device is a printer rather than a VDU.)

这篇关于逃脱顺序\f - 表单feed - 究竟是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆