Victor R. Volkman received a BS in Computer Science from Michigan Technological University. He has been a frequent contributor to the C/C++ Users Journal since 1987. His most recent book is entitled Windows Programming with Shareware Tools. He can be reached at the HAL 9000 BBS (313)663-4173, on the web at http://www.hal9k.com, or email to sysop@hal9k.com.
http://www.cs.brown.edu/people/jak/programming/stl-tutorial/tutorial.html
Mumit Khan http://www.xraylith.wisc.edu/~khan/software/stl/STL.newbie.html#class_howto
David R. Musser http://www.cs.rpi.edu/~musser/stl.html
David R. Musser and Atul Saini, authors of STL Tutorial and Reference
Guide: C++ Programming with the Standard Template Library offer a set
of source code resources specific to their book. More than 70 example
programs are available and you can browse selected parts of the book.
Certainly, the website will belp you decide whether Musser and Saini's
book would be appropriate for you.
http://www.aw.com/cp/musser-saini-source.html
http://www.cs.rpi.edu/~wiseb/stl-borland.html
or download Wise's patched STL files directly at:
http://www.cs.rpi.edu/~wiseb/stl/stlexp.zip
Microsoft's "MFC and Standard Template Library (STL) Alert" page
provides a blistering disclaimer in which it places sole responsibility
for STL back on Hewlett-Packard (who originally placed STL in the
public domain). Furthermore, it goes on to say that Microsoft Product
Support Services will not assist in technical support issues on STL.
Nevertheless, it does highlight required changes to header files
(involving Namespaces) that you can make yourself to achieve
compatability with Windows SDK or Microsoft Foundation Classes (MFC) and
STL. Visit their URL at:
http://www.microsoft.com/visualc/v4/v4tech/stlchg.htm
Warren Young http://www.cyberport.com/~tangent/programming/stlres.html
Here's some "pointers to pointers", these are pages which provide a rich
set of jumping off points for your own exploration of STL:
Before posting to Usenet, make sure you've read the STL FAQ, available at:
ftp://butler.hpl.hp.com/stl/stl.faq
Paulo Eduardo Neves http://netec.mcc.ac.uk/~adnetec/CodEc/C_Cpp.html http://www.cisc.com/src/c/main.html http://www.ia.pw.edu.pl/tex-info/libc/libc_toc.html#SEC492 Ajay Shah Unlike many other resource lists, this one specifically cites the author
name, supported platforms, FTP site, and version information.
http://gauge.phys.uva.nl:2001/c-sources.html The "C++ Virtual Library" maintained by Lutz Lilje There are few sites I return often enough to merit a bookmark, the "C++ Virtual
Library" is definitely on my hot links list.
http://info.desy.de/user/projects/C++.html
If you would like to share some of your favorite C/C++ sources,
please email me at sysop@HAL9K.com.
STL VENDOR-SPECIFICS
G. Bowden Wise
Young is also creator of the STL Compatability Test Suite (also on this
page). This is a good attempt to benchmark some key features of STL to
see whether your compiler's STL implementation will pass muster.
Currently, it tests the four major containers: vector, deque, list, and
map. It also performs a few tests on algorithms and gives iterators and
alllocators a workout.
STL POINTER PAGES
STL USENET NEWSGROUP RESOURCES
Usenet newsgroups provide an ongoing discussion about the pros and cons
of STL implementations. Jan Charvat, a graduate student in Computer Science
at the University of California (Riverside), recommends the following
newsgroups for STL coverage:
READER SUGGESTED LINKS
or try
ftp://ftp.usc.edu:/pub/C-numanal/numcomp-free-c.gz
Here's a sampling of queries which have come to me recently via email.
C/C++ MAILBAG
Larry_Siden@msn.com writes:
"At my work, we might be able to use a program that can analyze C source
code and generate a call tree along with various programming metrics.
Do you know of any shareware like that? There's commercial stuff, but
it costs in the thousands. I'ld like to find something more reasonably
priced."
C/C++ Answer Man:
"There's no need to pay a fortune for good source code analysis
(how about just 47$ for a great shareware program?). Try C
Exploration tools for Windows, its C Function Tree and C Structure
Tree make program and data structure logic as clear as can be. As
for metrics, I'll highlight only a few of them here:"
* Number of source code lines for every file
* Number of included files for every source file
* For every defined function:
* Number of lines
* Number of functions called
* Number of flow control statements
* Maximum brace nesting level
* Whether its used only in this file
* Function or data type reference list for every file
* Location of multiply defined functions & data types
* Location of all overloaded C++ functions
* #include file dependencies for every source file
* #include file tree for nested #includes
* Cross-reference for every function or data type
* Parent/child relationship for functions & data types
* C++ class inheritance tree
* C structure/union byte offset calculation
Check out volume #437 on the CUG CD-ROM or by FTP at
ftp://ftp.cdrom.com/pub/cica/win3/programr/cxtw107.zip
75300.2257@compuserve.com writes:
"I would prefer a better method of searching for information and code on
the CUG CD-ROM (please bear in mind that my only exposure is the 1994 CD).
A hyper-text style index with search functions is preferable."
C/C++ Answer Man:
"Ask no more! The June 1996 edition of C/C++ Users Group CD-ROM includes a
hypertext index of volumes 400-437 by, Subject keywords, Title,
Language, and Platform (OS/CPU). Whats more, you even get a FREE
licensed version of the popular I-VIEW offline HTML viewer
(http://www.talentcom.com/iview/iview.htm) to use with it. A hypertext index
of CUG CD-ROM is available online at http://www.HAL9K.com/cug/. "
d8342012@ccunix.ccu.edu.tw writes:
"I am interested in simulation, especially discrete event driven
simulations."
C/C++ Answer Man:
"Well, since you didn't specifically ask for C or C++, I'll assume
that C++ class libraries will work for you. I have two specific
packages I think you should look at: C++SIM and CNCL.
The C++SIM discrete event process based simulation package
provides Simula-style class libraries. C++SIM was written
by M.C. Little and D. McCue at the Department of Computing
Science in the University of Newcastle upon Tyne (England).
The same distribution also includes the SIMSET linked list
manipulation facilities. According to MacLennan (1983),
Simula was the first computer language to incorporate the
ideas of a "class" and "object" constructs in 1967. SIM++
currently claims usability only on Unix workstations, such
as SUN Sparcs. C++SIM version 1.0 (released 06/15/92) is
now available as volume #394 on the CUG CD-ROM. See also
the C++SIM home page:
http://ulgham.ncl.ac.uk/C++SIM/homepage.html
Available on C/C++ Users Group CD-ROM
The Communication Networks Class Library (CNCL) is a C++
library created by the Communication Networks department of
Aachen. CNCL is both a class library featuring generic C++
classes as well as a simulation library with strong points
in random number generation as well as statistical and
event-driven simulation. CNCL v1.4 (released 01/05/96) is
available on the CUG CD-ROM as volume #443. See also the
CNCL home page:
http://www.comnets.rwth-aachen.de/doc/cncl.html
Available on C/C++ Users Group CD-ROM
Available on C/C++ Users Group CD-ROM
Last updated on 10/29/96