🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #47

Structs/classes

#47
From: aglew
Date: Sun, 02 Mar 1986 06:35
6 lines
912 bytes
Just finished reading bs's book (which is definitely not bs) and enjoyed it 
very much. I have one question, though: since classes are essentially structs,
and structs can have member functions and private/public parts, why bother 
creating separate classes at all? Why not just extend the struct syntax
with the things you've got for classes - derivation, etc.?
Technical Details
Message-ID: <47900002@ccvaxa>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site ccvaxa
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew
From: aglew@ccvaxa.UUCP
Newsgroups: net.lang.c++
Subject: Structs/classes
Message-ID: <47900002@ccvaxa>
Date: Sun, 2-Mar-86 01:35:00 EST
Article-I.D.: ccvaxa.47900002
Posted: Sun Mar  2 01:35:00 1986
Date-Received: Tue, 4-Mar-86 04:49:35 EST
Lines: 6
Nf-ID: #N:ccvaxa:47900002:000:362
Nf-From: ccvaxa.UUCP!aglew    Mar  2 00:35:00 1986