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

Combo Quest (Games)
Combo Quest 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Combo Quest is an epic, time tap role-playing adventure. In this unique masterpiece, you are a knight on a heroic quest to retrieve... | Read more »
Hero Emblems (Games)
Hero Emblems 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: ** 25% OFF for a limited time to celebrate the release ** ** Note for iPhone 6 user: If it doesn't run fullscreen on your device... | Read more »
Puzzle Blitz (Games)
Puzzle Blitz 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Puzzle Blitz is a frantic puzzle solving race against the clock! Solve as many puzzles as you can, before time runs out! You have... | Read more »
Sky Patrol (Games)
Sky Patrol 1.0.1 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0.1 (iTunes) Description: 'Strategic Twist On The Classic Shooter Genre' - Indie Game Mag... | Read more »
The Princess Bride - The Official Game...
The Princess Bride - The Official Game 1.1 Device: iOS Universal Category: Games Price: $3.99, Version: 1.1 (iTunes) Description: An epic game based on the beloved classic movie? Inconceivable! Play the world of The Princess Bride... | Read more »
Frozen Synapse (Games)
Frozen Synapse 1.0 Device: iOS iPhone Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Frozen Synapse is a multi-award-winning tactical game. (Full cross-play with desktop and tablet versions) 9/10 Edge 9/10 Eurogamer... | Read more »
Space Marshals (Games)
Space Marshals 1.0.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.1 (iTunes) Description: ### IMPORTANT ### Please note that iPhone 4 is not supported. Space Marshals is a Sci-fi Wild West adventure taking place... | Read more »
Battle Slimes (Games)
Battle Slimes 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: BATTLE SLIMES is a fun local multiplayer game. Control speedy & bouncy slime blobs as you compete with friends and family.... | Read more »
Spectrum - 3D Avenue (Games)
Spectrum - 3D Avenue 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: "Spectrum is a pretty cool take on twitchy/reaction-based gameplay with enough complexity and style to stand out from the... | Read more »
Drop Wizard (Games)
Drop Wizard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Bring back the joy of arcade games! Drop Wizard is an action arcade game where you play as Teo, a wizard on a quest to save his... | Read more »

Price Scanner via MacPrices.net

Apple’s M4 Mac minis on sale for record-low p...
B&H Photo has M4 and M4 Pro Mac minis in stock and on sale right now for up to $150 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses. Prices start at only $469: – M4... Read more
Deal Alert! Mac Studio with M4 Max CPU on sal...
B&H Photo has the standard-configuration Mac Studio model with Apple’s M4 Max CPU in stock today and on sale for $300 off MSRP, now $1699 (10-Core CPU and 32GB RAM/512GB SSD). B&H also... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.