Notebook / Archives

Misc about C++

« Using Eclipse Java Development Tools (JDT) / \ Volcano High »

June 04, 2003

Misc about C++

Two articles about C++:


The article Understanding C++ Program Structure is in fact a chapter from the book Navigating C++ and Object-Oriented Design, by Paul Anderson (Contributor), Gail Anderson – Paperback: 799 pages; Publisher: Pearson Education POD; Book and CD-ROM edition (October 1997, 22); ISBN: 0135327482.
Following a link on this book's excerpt, I found another good chapter from another book: C++ Templates: Metaprograms. This chapter comes from C++ Templates: The Complete Guide, by David Vandevoorde, Nicolai M. Josuttis – Hardcover: 552 pages; Publisher: Addison Wesley Professional; 1st edition (November 12, 2002); ISBN: 0201734842. Indeed C++ templates do not only offer you to use generics, but to code metaprograms too, my favourite functionality in the C++ programming language:

Metaprogramming consists of “programming a program.” In other words, we lay out code that the programming system executes to generate new code that implements the functionality we really want. Usually the term metaprogramming implies a reflexive attribute: The metaprogramming component is part of the program for which it generates a bit of code/program.

Posted by Jean-Philippe on June 04, 2003 at 10:29 PM 10 Comments, 1058 TrackBacks

Filed in C++

Post your own.

Comments

Post a comment
Security Code Check





Remember personal info?


Entries by category

Entries by month