TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JERRY COFFIN
from: DANIEL MCGREGOR
date: 1997-05-08 06:06:00
subject: Struct vs. class

Hello Jerry!
On Monday May 05 1997, Jerry Coffin so utterly pointlessly wrote to Daniel 
McGregor:
DM>> The last I checked in my compiler (Turbo C++ 3.1) "struct"
DM>> wouldn't let you use member functions while class would.
JC> I rather doubt that's true, but if it is, it's a compiler bug, not a
JC> characteristic of the language.  I never had TC++ 3.1, but BC++ 3.1
JC> did work correctly in this regard, and AFAIK, TC++ 3.1 was close
JC> enough to the same that it accepted the same programs even though it
JC> didn't do all the same optimizations and didn't target as many
JC> platforms.
Its the compilers bug.  And I lied, its TC++ 3.0. I want to get BC++ 4.x, or 
5.x but I'll have to wait a while, in those I know that struct works.
Daniel
... Danger, Daniel!  Off-topic messages!  Danger!
--- Whoop-T-Doo v1.00
---------------
* Origin: I'll think of one Soon!!! (1:140/237.2)

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™.