Journal Articles
Browse in : |
All
> Journals
> CVu
> 304 (10)
All > Topics > Programming (877) All > Journal Columns > Code Critique (70) All of these categories |
- Options:
- View Article Map
- View Archives
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Iterators and Memberspaces
webeditor
23 December 2008 08:55:00 +00:00
Exposing a compound object's collections can be messy. Roel Vanhout introduces a powerful idiom.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Generics without Templates - Revisited
webeditor
23 December 2008 08:54:00 +00:00
Can you use the STL if your compiler lacks templates? Robert Jones implements iterators and alogorithms.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Seeing Things Differently
webeditor
26 October 2008 08:59:00 +00:00
The Multiple Material Marching Cubes (M3C) algorithm builds 3D models from 2D slices. Stuart Golodetz introduces it and provides a C++ implementation.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
DynamicAny (Part 2)
webeditor
26 October 2008 08:58:00 +00:00
Alex Fabijanic uncovers the internals of DynamicAny with some performance and size tests.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
DynamicAny, Part I
webeditor
17 August 2008 09:59:00 +01:00
Alex Fabijanic presents a class hierarchy providing dynamic typing in standard C++.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Globals, Singletons and Parameters
webeditor
17 August 2008 09:57:00 +01:00
One size rarely fits all. Bill Clare considers different approaches to parameterization.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Exceptions Make for Elegant Code
webeditor
17 August 2008 09:56:00 +01:00
Anything that can go wrong, will go wrong. Anthony Williams compares ways of dealing with errors.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
The Model Student: A Knotty Problem, Part 2
webeditor
08 June 2008 16:58:00 +01:00
Tying yourself in knots is easy. Richard Harris cuts through the complexity.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Watersheds and Waterfalls (Part 2)
webeditor
12 April 2008 08:59:00 +01:00
Stuart Golodetz continues his survey of algorithms for segmenting images into regions.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
The Model Student: A Knotty Problem, Part 1
webeditor
12 April 2008 08:58:00 +01:00
Richard Harris explores more of the mathematics of modelling problems with computers.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Watersheds and Waterfalls
webeditor
12 February 2008 08:58:00 +00:00
An introductory look at segmenting images into regions using a landscape analogy.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Testing Visiting Files and Directories in C#
webeditor
12 February 2008 08:55:00 +00:00
Testing code that accesses the file system is not straightforward. Paul Grenyer looks at what is involved.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Generics Without Templates
webeditor
12 February 2008 08:54:00 +00:00
Robert Jones presents an alternative implementation of C++'s std::vector that can be used the absence of templates and exceptions.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Functional Programming Using C++ Templates (Part 2)
webeditor
08 December 2007 11:57:30 +00:00
Continuing his exploration of functional programming and template metaprogramming, Stuart Golodetz looks at some data structures.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Java Protocol Handlers
webeditor
08 December 2007 11:57:00 +00:00
Roger Orr demonstrates the use of Java's URL handling to make code independent of the source of data.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
The PfA Papers: The Clean Dozen
webeditor
07 October 2007 11:59:00 +01:00
Patterns are social animals and are often found in the company of others. This issue, Kevlin Henney looks at where 'Parameterise from Above' has been hanging out.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Functional Programming Using C++ Templates (Part 1)
webeditor
07 October 2007 11:57:00 +01:00
Template metaprogramming can initially seem baffling, but exploring its link to functional programming helps shed some light on things.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
auto_value: Transfer Semantics for Value Types
webeditor
07 October 2007 11:56:00 +01:00
In his quest to pass around values efficiently, Richard Harris concludes by looking at ways of transferring ownership, now and in the future.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
He Sells Shell Scripts to Intersect Sets
webeditor
12 August 2007 11:58:00 +01:00
Graphical User Interfaces are in great demand but for some tasks there are better tools. Thomas Guest demonstrates the capabilities of command shells.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Release Mode Debugging
webeditor
12 August 2007 11:56:00 +01:00
Although we try not to put bugs into software, sometimes we must track them down to remove them. Roger Orr considers the difficulties when they can only be seen in release builds.