临时:sudo rmmod pcspkr 永久 /etc/inputrc文件中把 set bell-style none 前的注释去掉,改为 set bell-style off 转自:http://blog.csdn.net/h_armony/article/details/7394677 http://blog.csdn.net/lskyne/article/details/38843171
第四章 字符串和格式化输入输出 4.2 字符串简介 字符串(character string)就是一个或多个字符的序列.下面是一个字符串的例子: “Zing went the strings of my heart,” 双引号不是字符串的一部分.它们只是通知编译器其中包含了一个字符串,正如单引号标识着一个字符一样. 4.2.1 char 数组类型和空字符 C 没有为字符串定义专门的变量类型,而是把它存储在 char 数组中. -----------------------------------