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
|