|
From: Ian C. S. <ic...@st...> - 2000-10-17 22:57:54
|
You wouldn't believe the resources you can find in old bookstores. I have this massive programming library, with assembly, routines in basic, pascal, advanced debugging techniques, C/C++, Java, Visual BASIC and heaps more. All up, probably about $600 worth. I paid, roughly, about $50 for the whole lot (spread over a couple of years). A lot of them are University-grade text books too. Ian On 17 Oct 00, at 15:42, SpiderMan wrote: > Yes you are right, I checked my book again, \a and \b are very close together, it was my mistake. I am using the book Object-Oriented Programming in C++ Second Edition, it's quite old (Copyright 1995) I got it for $9 at a used bookstore : ) > ----- Original Message ----- > From: Matthew Hickson > To: dev...@li... > Sent: Tuesday, October 17, 2000 9:30 AM > Subject: Re: Re [Dev-C++] Question of the day > > > Hello, > In my C++ book it says that \b will produce a system beep through the internal speakers, not erase characters. > > I have two books, both copyrighted 1998 and covering ANSI/ISO C++. They both state that \a is for alarm (the bell/beep), and that \b is indeed a backspace character. > > However, as has already been mentioned, the backspace is usually not destructive. It just moves the cursor back one space. To delete a character you would have to follow the rules for your text interface (I believe CTRL+H will do... better still, use the hex code for "Delete" -- not backspace). > > It could also be that different compilers handle it differently; however, the texts I have mentioned cover ANSI/ISO standards which seem to fall in line with everything I've read regarding C/C++. (You could also check your man pages if you're a Unix type.) > > The books, for those who are interested are: > > 1. C++ How to Program (2e) by Deitel and Deitel (published by Prentice-Hall... they have a webs ite too... www.deitel.com) > > 2. Ivor Horton's Beginning C++ (The complete language - ANSI/ISO Compliant edition) by Wrox Pre ss. (He's also got a book for MSVC.) > > Hope that's helpful. > > Matthew Hickson > > > ------------------------------------------------------------------------------ > > > > > > > > > > Link is external to the Privacyx.com System > > |