BW> cout << "The value of /a is " << (char)'/a' << endl;
BW> Borland will send a backslash. Microsoft, the letter a.
TT> That is strange, there is no backslash involved, I only see forward
You're right, it's not a backslash.
TT> By the way, I believe a char literal should only be 1
TT> character long (unless you're trying to use the escape code for alert,
I think you're right again, but somehow I got in the habit of using
this two-char thingamabob so now I have 10-12 small utils I want to
rewrite. I guess it's a learning experience, if I'd known at the time I
wouldn't have done it that way.
L8r,
bw
... If at first you don't succeed, call it v1.0!
--- Blue Wave/DOS v2.20
---------------
* Origin: River Canyon Rd. BBS Chattanooga, Tn (1:362/627)
|