TweetFollow Us on Twitter

Apr 97 URLs

Volume Number: 13 (1997)
Issue Number: 4
Column Tag: MacTech Online

Watch Your Languages

By Nicholas C. "nick.c" DeMello

Definitive C++

In 1979 a student named Bjarne Stroustrup presented a Ph.D. thesis entitled Communication and Control in Distributed Computer Systems to Cambridge University. While working on that thesis, and later while working at Bell Laboratories, Stroustrup began building the conceptual basis and C code that eventually evolved into his C++ language. In this column, we will explore some of the online resources dedicated to that language.

Bjarne Stroustrup has a home page that presents a brief biography, some frequently asked questions about C++, and even a copy of a rather famous post Stroustrup made to comp.lang.c++ (in which he responded to many criticisms about C++). There's also a copy of a post he made in 1983, regarding his opinions on how best to learn C++. Various papers and books Stroustrup has written are described as well. The most significant of these is The C++ Programming Language 2nd ed (Addison-Wesley, 1991, ISBN 0-201-53992-6). The first edition of this book, introduced in October of 1985, was the formal introduction of C++ to the world, and is still the definitive description of the language. An errata of that book is available online, as well as another essential reference to C++ - the working papers for the ANSI C++ standard.

Bjarne Stroustrup's Home Page

http://www.research.att.com/~bs/homepage.html

The C++ Programming Language Errata

http://sf.www.lysator.liu.se/c/bs-errata.html

The ANSI C++ Working Papers

http://www.research.att.com/c++/

http://www.cygnus.com/misc/wp/

Resources for Learning C++

An essential step in learning anything is reviewing the FAQs. C++ has been around a long time, and the FAQs are well understood and have been artistically compiled by Marshall Cline. So well compiled that the C++ FAQ, originally posted to comp.lang.c++, has evolved into the C++ FAQ, a book available from Addison-Wesley's developer press (by Cline and Lomow, Addison-Wesley, 1995, ISBN 0-201-58958-3). Marshall still maintains an HTML and text version of the FAQ called the C++ FAQ Lite. Lite is a relative term though, this document is regularly posted to comp.lang.c++ in seven parts, and contains a huge amount of useful information (imagine how much more exists in the book form). You'll also find a posting of the C++ Libraries FAQ on comp.lang.c++ and news.answers - maintained by Nikki Locke. This FAQ, also available in HTML form, contains an extensive listing of C++ class libraries on subjects as diverse as processing gray scale images, developing neural networks and genetic algorithms, adding relational database functionality, garbage collecting, matrix manipulation, and MPEG decoding.

However, FAQ's aren't enough. A structured tutorial is a good way to get started with a new language. Some excellent tutorials exist online, such as the C++ Annotations pages and the eight part Accelerated Introduction to C++. Once you have a handle on C++, and want to learn more about the Object Paradigm, visit the Introduction to Object-Oriented Programming Using C++.

The C++ FAQ Lite

ftp://rtfm.mit.edu/ftp/pub/usenet-by-group/comp.lang.c++/

http://www.cerfnet.com/~mpcline/C++-FAQs-Lite/

The C++ FAQ Book

http://heg-school.aw.com/cseng/authors/cline/FAQ/FAQ.html

C++ Libraries FAQ

ftp://rtfm.mit.edu/ftp/pub/usenet-by-group/comp.lang.c++/C++-faq/libraries/

http://purl.oclc.org/NET/C++Libraries/

C++ Annotations

http://www.icce.rug.nl/docs/cpp.html

Understanding C++: An Accelerated Introduction

http://www.iftech.com/oltc/cpp/cpp0.stm

Introduction to Object-Oriented Programming Using C++

http://uu-gna.mit.edu:8001/uu-gna/text/cc/index.html

Resources for Building with C++

There is a wealth of online resources for C++ programmers. The C/C++ Users Group offers an extensive collection of example code in C and C++, accessible through indices organized by subject, title, platform, or author and through a search engine. The http home of the IRC channel #C++ also offers archives of source code and reference information. Another good starting point is Jon's C++ Resources. Jon Morris Smith has arranged his links (which point to libraries, compiler specific information, book reviews, extensions, STL, and other resources) by geographic location. This will be especially useful to European readers who sometimes have difficulty accessing US based resources. Also check out Wolfgang Wanders' Getting Informed about C++ page and the C++ Virtual Library for a wide selection of links.

There are a lot of exciting things happening with OOP these days, but C++ is still the king of the object paradigm. There is a wealth of libraries, tutorials, and source available to help you make the most of C++. Hopefully this column has put you in touch with some of those resources that are available online.

- nick.c online@mactech.com

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All


Price Scanner via MacPrices.net

Early Black Friday Deal: Apple’s newly upgrad...
Amazon has Apple 13″ MacBook Airs with M2 CPUs and 16GB of RAM on early Black Friday sale for $200 off MSRP, only $799. Their prices are the lowest currently available for these newly upgraded 13″ M2... Read more
13-inch 8GB M2 MacBook Airs for $749, $250 of...
Best Buy has Apple 13″ MacBook Airs with M2 CPUs and 8GB of RAM in stock and on sale on their online store for $250 off MSRP. Prices start at $749. Their prices are the lowest currently available for... Read more
Amazon is offering an early Black Friday $100...
Amazon is offering early Black Friday discounts on Apple’s new 2024 WiFi iPad minis ranging up to $100 off MSRP, each with free shipping. These are the lowest prices available for new minis anywhere... Read more
Price Drop! Clearance 14-inch M3 MacBook Pros...
Best Buy is offering a $500 discount on clearance 14″ M3 MacBook Pros on their online store this week with prices available starting at only $1099. Prices valid for online orders only, in-store... Read more
Apple AirPods Pro with USB-C on early Black F...
A couple of Apple retailers are offering $70 (28%) discounts on Apple’s AirPods Pro with USB-C (and hearing aid capabilities) this weekend. These are early AirPods Black Friday discounts if you’re... Read more
Price drop! 13-inch M3 MacBook Airs now avail...
With yesterday’s across-the-board MacBook Air upgrade to 16GB of RAM standard, Apple has dropped prices on clearance 13″ 8GB M3 MacBook Airs, Certified Refurbished, to a new low starting at only $829... Read more
Price drop! Apple 15-inch M3 MacBook Airs now...
With yesterday’s release of 15-inch M3 MacBook Airs with 16GB of RAM standard, Apple has dropped prices on clearance Certified Refurbished 15″ 8GB M3 MacBook Airs to a new low starting at only $999.... Read more
Apple has clearance 15-inch M2 MacBook Airs a...
Apple has clearance, Certified Refurbished, 15″ M2 MacBook Airs now available starting at $929 and ranging up to $410 off original MSRP. These are the cheapest 15″ MacBook Airs for sale today at... Read more
Apple drops prices on 13-inch M2 MacBook Airs...
Apple has dropped prices on 13″ M2 MacBook Airs to a new low of only $749 in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty... Read more
Clearance 13-inch M1 MacBook Airs available a...
Apple has clearance 13″ M1 MacBook Airs, Certified Refurbished, now available for $679 for 8-Core CPU/7-Core GPU/256GB models. Apple’s one-year warranty is included, shipping is free, and each... Read more

Jobs Board

Seasonal Cashier - *Apple* Blossom Mall - J...
Seasonal Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Read more
Seasonal Fine Jewelry Commission Associate -...
…Fine Jewelry Commission Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) Read more
Seasonal Operations Associate - *Apple* Blo...
Seasonal Operations Associate - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Read more
Hair Stylist - *Apple* Blossom Mall - JCPen...
Hair Stylist - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Read more
Cashier - *Apple* Blossom Mall - JCPenney (...
Cashier - Apple Blossom Mall Location:Winchester, VA, United States (https://jobs.jcp.com/jobs/location/191170/winchester-va-united-states) - Apple Blossom Mall Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.