try.c

来自「这是LPC-10压缩算法的源代码,愿共享之.也希望能赐与MELP方面的算法源码.」· C语言 代码 · 共 33 行

C
33
字号
/*This program should print either two normal v's, if \v is notrecognized as an escape sequence for the vertical tab (control-K), ortwo control-K's, if it is.On siesta.wustl.edu and ritz.cec.wustl.edu (both running Solaris 2.3or 2.4), compiling with GCC 2.6.0, this program prints a v followedby a control-K.  I don't know yet if this is a problem with GCC 2.6.0in general, or only on this operating system, or only because of someoption that was set badly when it was compiled on these systems.On leia.wustl.edu (running SunOS 4.1.4), compiling GCC 2.5.8, thisprogram prints two control-K's.I tried out GCC 2.7.0 on my home Linux machine, and it worked correctly(printing two control-K's).*/main(){    char str1[2];    char str2[2];    strcpy(str1, "\v");    str2[0] = '\v';    str2[1] = '\0';    printf("%s", str1);    printf("%s", str2);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?