--> Note:
Copied (from: C_ECHO) by Anthony Tibbs using timEd.
Hello All!
I'm using Borland C++ 4.5, and the following code is resulting in a 35k
executable:
int main (void)
{
int t=1;
while (t)
{
t = getch();
if (!t)
{
t = getch();
printf ("Extended key : 00h, %-2.2Xh\n", t);
}
else
printf ("Standard key : %-2.2Xh\n", t);
if (t == 0x1B)
t = 0;
}
return 0;
}
If I look at the executable, there are references to "xalloc", "xmsg",
"string", "Bad_type", "Bad_cast", "typeinfo", "string::lengtherror",
"TReference", "TString", among others.
The strange part is this: All of these "messages" are located *before* the
rest of the data for the program, i.e. they are scattered about amongst all
of the program code. The other weird thing is that this is a .C program, and
NOT a .CPP (C++) program, so where the heck is "string::lengtherror", etc.
coming from?
Take care,
Anthony
--- timEd/B8
---------------
* Origin: The Tibbs' Point - Ottawa, ON - Private (1:163/215.38)
|