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

On (01 May 97) Daniel McGregor wrote to Javier Kohen...
 DM> The last I checked in my compiler (Turbo C++ 3.1) "struct" wouldn't
 DM> let you use member functions while class would.
I rather doubt that's true, but if it is, it's a compiler bug, not a
characteristic of the language.  I never had TC++ 3.1, but BC++ 3.1 did
work correctly in this regard, and AFAIK, TC++ 3.1 was close enough to
the same that it accepted the same programs even though it didn't do all
the same optimizations and didn't target as many platforms.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

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