+ -
当前位置:首页 → 问答吧 → C语言 ^L什么意思?

C语言 ^L什么意思?

时间:2010-09-04

来源:互联网

本帖最后由 gouven 于 2010-09-04 12:12 编辑
  1. ^L
  2. /* Print version and copyright information.  */

  3. static void
  4. print_version (void)
  5. {
  6.   printf ("hello (GNU %s) %s\n", PACKAGE, VERSION);
  7.   /* xgettext: no-wrap */
  8.   puts ("");
  9.   
  10.   /* It is important to separate the year from the rest of the message,
  11.      as done here, to avoid having to retranslate the message when a new
  12.      year comes around.  */
  13.   printf (_("\
  14. Copyright (C) %s Free Software Foundation, Inc.\n\
  15. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n\
  16. This is free software: you are free to change and redistribute it.\n\
  17. There is NO WARRANTY, to the extent permitted by law.\n"),
  18.               "2007");
  19. }
复制代码
代码摘自GNU hello-2.3/src/hello.c,请看第一行。

作者: gouven   发布时间: 2010-09-04

这是什么记号吗?在Google上完全没找到

作者: gouven   发布时间: 2010-09-04

vim里光标还无法移到 L 上,难道是编辑器的什么记号?

作者: gouven   发布时间: 2010-09-04



QUOTE:
vim里光标还无法移到 L 上,难道是编辑器的什么记号?
gouven 发表于 2010-09-04 12:22




^L是换页符"\014",作用是打印时先换一页。

作者: CountOnMyself   发布时间: 2010-09-04

相关阅读 更多