TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: FRANK SCHMID
from: TOM TORFS
date: 1998-01-31 00:36:00
subject: `/a`=?

* Reply to a message in personal_mail.
Frank Schmid wrote in a message to Tom Torfs:
BW>>     cout << "The value of /a is " << (char)'/a' << endl;
BW>> Borland will send a backslash.  Microsoft, the letter a.
> That is strange, there is no backslash involved, I only see forward
> slashes.
 FS> I don't think this is strange.
With strange I was referring to his incorrect usage of the word "backslash".
 FS> Normally ints are stored with LOW-BYTE first,   then HIGH-BYTE 
That's a bit of an over-generalization. You should make no assumptions about 
the internal binary representation of ints. In fact, a lot of systems store 
them the other way round. Don't assume everybody uses Intel(-clones).
When you provoke undefined behaviour, you can expect undefined behaviour. 
This is a perfect example of that.
greetings,
Tom
tomtorfs@village.uunet.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.