From: larry@JPL-VLSI.ARPA
Subject: C++ as a way to use private types in C
Date: Wed, 18-Mar-87 22:09:34 EST [thread overview]
Date: Wed Mar 18 22:09:34 1987
Message-ID: <870318190934.056@Jpl-VLSI.ARPA> (raw)
--
If you want private types in C the best way is to get a C++ to C translator.
There are at least three available for the PC family and several for various
minis. (I understand AT&T has compilers (as opposed to translators) for
some of their 3B computers also.)
C++ is very similar to Ada, except for tasking where the older C-style
facilities are used. It's also upwardly compatible with C except for some
minor details; for instance, you can't use the about a half-dozen keywords
C++ uses. It also has an advantage over Ada in that functions are data
objects, so can be passed as parameters, etc.
C++ also has a number of disadvantages, most fostered by a need to remain
compatible with C felt by its its designers (primarily Bjourne Stroustrup
but with a lot of input from the prime C theorists at AT&T).
Has anyone on the list done a detailed comparison between C++ and Ada?
Larry @ jpl-vlsi.arpa
next reply other threads:[~1987-03-19 3:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1987-03-19 3:09 larry [this message]
1987-03-19 16:40 ` C++ as a way to use private types in C bs
1987-03-19 16:57 ` Greg Lomow
1987-03-20 14:03 ` firth
1987-03-20 14:55 ` Leonard Vanek
1987-03-21 3:45 ` gore
-- strict thread matches above, loose matches on Subject: below --
1987-03-19 16:20 WELTY RICHARD P
1987-03-19 19:03 WELTY RICHARD P
1987-03-20 14:35 ` bs
1987-03-31 17:08 WELTY
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox