22 November 2004
Code libraries from C/C++ Users Journal
This entry is a repository for useful code libraries that have been presented in C/C++ Users Journal. The article name links to the zipped file, on CUJ's site, of that issue's source code. The issue date links to the CUJ page for that issue. This will be regularly updated.
- Containers
- Ranges: Part 1: Concepts and Implementations (October 2004, Volume 22, Number 10), Part 2: Iterable Range Adaptors, Algorithms, and Composition (December 2004, Volume 22, Number 12); Torjo, John and Matthew Wilson
- STL Sequences & the View Concept (April 2004, Volume 22, Number 4); Sobczak, Maciej
- Search, State Machines
- Finite State Machine Framework, A (April 2004, Volume 22, Number 4); Mason, P. Dale
- State Space Searching (October 2004, Volume 22, Number 10); Theese, David
- Misc
- Asynchronous Delegates & C++ (November 2004, Volume 22, Number 11); Dotlic, Drazen
- Constrained Value Types Using Policies (December 2004, Volume 22, Number 12); Diggins, Christopher
- Win32 GUI Generics: The Roots (August 2004, Volume 22, Number 7), Window Creation, Access, Frames, and Dialogs (August 2004, Volume 22, Number 8), Keeping It Simple (September 2004, Volume 22, Number 9), Make It Look Good! (November 2004, Volume 22, Number 11); Torjo, John
An extension of the iterator concept. Manipulate collections more succinctly.
View<> template that can contain conjunct or disjuct collections of iterators. Iterators can come from one or more collections containing the same data type. Dereferencing view<> iterators also dereferences the contained iterator.
A policy-based state machine.
Delegates are clean syntactic wrappers for callbacks. This library mimics the .NET implementation of delegates (an example of the power of C++ as a language that can subsume other languages' features without the need to change C++ itself).
A simple template for creating range-bound, single-value objects.
John Torjo has accomplished the stunning task of writing a Win32 class library that follows the principles of the Standard Library and object-oriented design. Check out his site for a full description.
- A content voting microformat posted by sstrader on 23 April 2010 at 4:34:41 PM
- iPhone, the platform most hated by developers posted by sstrader on 13 April 2010 at 12:25:58 AM
- Singleton for Java posted by sstrader on 5 January 2010 at 11:03:02 PM
- Opera (and Eclipse) posted by sstrader on 25 October 2009 at 10:34:55 AM
- EtherTV: video playlist editor posted by sstrader on 5 August 2009 at 9:05:30 PM