对这个计划的钟声! [英] This program sounds the bell!
本文介绍了对这个计划的钟声!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是一个全新的学生编程舞台,所以我不能掌握这个程序写在我的书中,我一直在关注了几天。该方案是这样的:
I'm a brand-new student in programming arena so I can't grasp this program written in my book that I have been following for a few days. The program is like this:
#include "stdio.h"
main()
{
printf("\a");
}
这是什么意思程序?这是否意味着方案,我们可以听到响铃钟?我听不到任何响起铃声!
What does this program mean? Does this program mean that we could hear a ringing bell? I can't hear any ringing bell sound!!!
推荐答案
ASCII字符7是BELL字符,它在C psented为 \\重新$ P $
。当这个人物在终端上输出一些终端将产生蜂鸣声;时下,许多人不。 (我看着你,Ubuntu Linux系统。)
ASCII character 7 is the BELL character, and it's represented in C as \a
. Some terminals will produce a beep when this character is output on the terminal; nowadays, many don't. (I'm looking at you, Ubuntu.)
这篇关于对这个计划的钟声!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文