TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DANIEL MCGREGOR
from: BALOG PAL
date: 1997-05-06 22:03:00
subject: Struct vs. class

                            Hi, Daniel McGregor!
On 01 May 97  21:30:43 you wrote to Javier Kohen
 JK> Which are the diffs of struct and class in C++... I know the
 JK> public/private defaults...
 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'm sure you you mistyped something there.   TC3.1 comes with the same
compiler as BC3.1 and in BC3.1 lets you use members in a struct.
Paul
... Hard work never hurt anyone--but why risk it?
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)

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