Article View: net.lang.c++
Article #235C++ info wanted (given)
From: Bjarne Stroustrup
Date: Mon, 23 Jun 1986 01:21
Date: Mon, 23 Jun 1986 01:21
108 lines
5486 bytes
5486 bytes
> From allegra!mit-eddie!genrad!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!burdvax!bpa!sjuvax!drexel!msudoc!lawitzke Wed Dec 31 19:00:00 1969
> Subject: C++ info wanted
> Reply-To: lawitzke@msudoc.UUCP (John Lawitzke)
> Organization: Michigan State University, Engineering, E. Lansing
>
> I realize this has appeared from other people. However, I, too wish to
> get more info about c++. Things like where to get it, a summary of its
> features, etc. As, several people have asked the question, could someone
> post a reply in net.lang.c++? Also, I've heard c++ is availible from
> AT&T (AT&T is a trademark of AT&T)
>
> John H. Lawitzke UUCP ...ihnp4!msudoc!lawitzke
> Dept. of Electronic and Surface Properties
> 260 Engineering Bd. Office: (517) 353-5984
> Michigan State University Home: (517) 332-3610
> E. Lansing, MI, 48824
Apologies to people who has seen most of this before, but it is needed.
The C++ programming language was designed to make the task of programming
more enjoyable for the serious programmer. It consists of a traditional
systems programming language and a set of mechanisms for defining new
data types. In addition to traditional programming techniques it supports
data abstraction and object oriented programming.
C++ has the C programming language as a subset so it can be used
immediately by C programmers. C programs, libraries, and support tools
can also be used. C++ does not impose space or run-time overheads compared
with C. C++ has proven reasonably easy to learn both for C and non-C
programmer. In addition to C, the main influences on C++ was Simula67 and
Algol68.
C++ has been in use for over 4 years (after about 3 years of
preliminary work) and has been applied to most branches of systems
programming including compiler construction, data base management,
graphics, networking, numerical software, programming environments,
robotics, simulation, switching.
In addition a lot of applications programming has been done in C++.
It has a highly portable implementation and there are now in the order of
1500 C++ installations - mainly UNIX systems (Amdahls, AT&T 3Bs, Intel 80286
based systems, Motorola68K based systems, Pyramids, Perqs, VAXes, and others).
C++
- is a better C
- argument type checking and type conversion
- free store operators (new & delete)
- scoped and typed constants
- inline functions (function semantics with macro efficiency)
- supports data abstraction
- data hiding
- member functions (operations on objects of a class)
- constructors (optional guaranteed initialization)
- destructors (optional implicit cleanup)
- operator overloading (+ - * / etc; and also () [] and =)
- user defined type coercion
- references
- supports object oriented programming
- (single) inheritance (sub/super classes)
- virtual functions (a bit like Smalltalk methods)
The book:
Bjarne Stroustrup: The C++ Programming Language
Addison Wesley, 1986, ISBN 0-201-12078-X
336 Pages. Recommended price $22.95
The implementation:
AT&T Software Sales and Marketing
Post Office Box 25000
Greensboro, North Carolina 27420
(800) 828-UNIX or (919) 279-3666)
Or
AT&T Unix Pacific Co.,Ltd.
Nippon Press Center Bldg.
2-2-1, Uchisaiwai-cho
Chiyoda-ku, Tokyo 100 Japan
Or
UNIX Europe Limited,
27A Carlton Drive, London SW15 2BS, England.
Tel: +44 1 785-6972, fax: +44 1 785-6916,
EUnet: mcvax!ukc!uel!uel.
I found this on BIX (Byte Magazines Bulletin board). It relates to C++ for PCs:
> ==========================
> c.language/other #376, from comeau, 1229 chars, Tue Jun 3 22:35:03 1986
> This is a comment to message 373.
> --------------------------
> Yes, if finally found the lit about C++, and it also turn out to
> be OASYS's DESIGNER C++. It reads as follows:
> "OASYS proudly announces DESIGNER C++, the first commercially available
> version of AT&T's new C++ Translator. C++ is a powerful new extension
> to C from AT&T which facilitates structured programming. Designer C++ is
> a superset of C which provides for optional type checking, data abstraction,
> operator overloading and object oriented programming. It presently functions
> as a pre-processor for existing C compilers, yet adds little overhead.
> CDB, OASYS's popular C debugger, will soon be available for C++. Designer
> C++ is presently available with Microsoft C, Green Hills C, and Lattice C.
> Ports are underway to the most popular PC and minicomputer C compilers."
> Also note that they market all sorts of lints, debuggers, beautifiers,
> and runtime analyzers. They've been in the business for years and I have
> never heard anything bad about them. Should be a good deal.
> (Disclaimer: I have no financial or blood relationship to OASYS.)
Technical Details
Message-ID:
<5690@alice.uUCp>Path:
arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!caip!princeton!allegra!alice!bsShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!harvard!caip!princeton!allegra!alice!bs From: bs@alice.UucP (Bjarne Stroustrup) Newsgroups: net.lang.c++ Subject: C++ info wanted (given) Message-ID: <5690@alice.uUCp> Date: Sun, 22-Jun-86 21:21:10 EDT Article-I.D.: alice.5690 Posted: Sun Jun 22 21:21:10 1986 Date-Received: Tue, 24-Jun-86 04:39:22 EDT Organization: Bell Labs, Murray Hill Lines: 110