The Wayback Machine - https://web.archive.org/web/20110123070549/http://www.codeguru.com:80/cpp/

    Latest Visual C++ / C++ Articles

    C++ Programming: A Better Vector Trim Algorithm With Move Semantics

    Vectors are one of the single most useful and most used objects in the STL. They are easy to use, and remove the burden of memory management from the user. It is possible to partially control memory usage by using functions like reserve, but nothing is provided to free up excess memory. Users have come up with ways to trim a vector by hand, but with the advent of the new C++0x and its move semantics, the classic solution of copy-swaping has become excessively expensive. This article seeks to find a better solution.

    [Updated] Advanced C++ Listcontrol

    Use your C++ Programming skills to create a special list control that allows another list control to be inserted in a particular cell.

    C++ Programming: Easy Screen Capture Using MFC/ATL

    Learn to use CScreenImage, an MFC/ATL extension class for screen image captures.

    An Interview with C++ Creator Bjarne Stroustrup

    Bjarne Stroustrup talks about the imminent C++0x standard and the forthcoming features it brings, the difficulties of standardizing programming languages in general, the calculated risks that the standards committee can afford to take with new features, and even his own New Year's resolutions.

    The XML parsing Article That Should (Not) Be Written!

    The C++ XML parsing article which should have been written since the advent of XML! This article defines a new Elmax abstraction model over the DOM model.

    Introducing the Windows Kernel Transaction Manager, Transactional NTFS and Transactional Registry

    Read along as Marc Gregoire provides a brief overview of TxF and TxR to give you an idea of what you can accomplish with it.

    Latest Columns

    Using VC++ .NET

    USING VC++ .NET

    C++ Programming: Understanding Standard C++ Library Additions in Visual C++ 2010

    For every true C++ developer, the Standard C++ Library is the first choice for utility classes, collections and algorithms to streamline the development effort. Continuing on from the investment in core C++ programming improvements in Visual C++ 2008, Visual C++ 2010 introduces improvements in the Standard C++ Library related to C++ 0x, and this article focuses on advancements in Standard C++ collections and algorithms.

    Nuts & Bolts

    .NET NUTS & BOLTS

    .NET Framework: Use Your Own Cache Wrapper to Help Performance

    See how you can use the .NET framework to create your own wrapper classes in C# programming to help boost your application performance when accessing a bunch of reference or other look-up type data that you frequently use.

    VB Today

    VISUAL BASIC TODAY

    SQL CLR Integration in SQL Server 2008

    Is some of your business logic in code and some in SQL Server? Then, just call the SQL from the .NET framework and the .NET framework from SQL with CLR integration. Here are all the steps you need to get started.

    Insights

    PROGRAMMING INSIGHTS

    Microsoft .NET Framework 4.0 Task Parallel Library Continuations

    Task Continuations allows developers to create interdependencies between tasks. The interdependencies can involve simple execution in response to task completion or aggregated exception handling among tasks. Read along to learn more.