From: SpiderMan <Spi...@pr...> - 2000-10-15 18:28:41
|
In my C++ book it says that \b will produce a system beep through = the internal speakers, not earse characters. ----- Original Message -----=20 From: Ioannis Vranos=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 4:21 AM Subject: [Dev-C++] Question of the day Why the following code does not work as it is supposed to work? =20 =20 #include <stdio.h> int main() { printf("This is a test\b\b\b\b\b\n"); =20 return 0; } =20 I expected to print on screen "This is a". =20 I tried it on 3 compilers with different combinations and the results = were the same ('\b' not erasing). =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://members.nbci.com/noicys * Alternative URL: http://run.to/noicys |