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

    C++

    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.

    C++ Tutorial: Use std::tuple To Simulate Compact Heterogeneous Containers

    Std::tuple is a compact, fixed size container that packs a variable number of elements of different types. This property makes tuples useful in simulating multiple return types for a function, assigning and comparing multiple values simultaneously and abstracting complex data structures.

    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.

    The New MFC Animation API

    This article serves as a brief introduction to the new API allowing users to create animations in MFC applications.

    Improve Microsoft Visual C++ Application Security and Robustness with SafeInt

    In this age of cloud computing, massive parallel systems and complex security threats like identity theft and decentralized botnets, devoting resources to combat the seemingly age-old issue of integer overflow appears distinctly passC). Despite the fact that integer overflow is such a well know problem, particularly within C and C++ programming, the problem remains a real issue from both a defect and security standpoint, that's why the introduction of the SafeInt template class in Visual C++ 2010 to address overflows is a great addition.

    C++ Tutorial: 10 New STL Algorithms That Will Make You A More Productive Developer

    Unquestionably, the most effective tool for a C++ programmer's productivity is the Standard library's rich collection of algorithms. In 2008, about 20 new algorithms were voted into the C++0x draft standard. These new algorithms let you among the rest copy n elements intuitively, perform set theory operations, and handle partitions conveniently. Find out how to use these algorithms to make your code more efficient and intuitive.

    Simplify Visual C++ Application Deployment with Manifest Files

    Application manifest files provide a declarative means for an application to detail its dependencies and runtime requirements. Each version of Windows and Visual C++ adds further options that can be specified in the application manifest file, and it is important for correct application deployment and execution that the Visual C++ developer keeps up to date with these advances.

    Rubix Cube

    This program presents an original way of the famous Rubik's Cube by an assembly of 27 multi-colored cubies isolated in the space. Even during its deformations, it allows a 3D vision of the cube thanks to the basic MFC graphic functions.

    C++ Tutorial: Enhance Type Safety and Code Clarity with the nullptr Keyword

    Find out how to use nullptr to avert bugs and simplify the future maintenance of your C++ applications.

    C++ Programming: Memory Mapped Files using RAII

    Learn how to use helper classes for interprocess communication with memory mapped files in C++ on Windows.

    C++ Programming: Better Accessibility with High DPI Support and MFC 10

    A number of factors are driving the requirement for applications to correctly support high DPI settings--increased monitor resolutions are making it more difficult for users to read text on the screen, compliance with disability access legislation is an increasingly important factor for corporations, and users are now expecting applications to behave well at higher DPI settings. MFC 10 and Visual C++ 2010 have built-in support for high DPI, making the development of a DPI-aware application quicker and more simple.

    C++ Programming: CRT Concurrency Runtime: Resource Manager

    The Concurrency Runtime simplifies parallel programming and helps you write robust, scalable, and responsive parallel applications. Come along as we explore the Resource Manager layer of this framework.

    Querying Bing Using the New Windows 7 Web Services C++ API

    Learn how to build client applications that use SOAP based web services.

    C++ Tutorial: The Template Pattern

    Learn how to set up the outline of an algorithm and leave the details of the implementation later using the Template Pattern.

    C++ Programming: STL Hash Container Benchmark

    This article presents a benchmark application which pits the red-black binary tree containers(map, set, etc) against hash containers.

    Choosing the Right Storage for Application Data

    Suppose you have to develop software for managing a custom storage of end-user documents and files. There are several approaches to data storage possible. Right choice of data storage technique will make your software versatile, robust and scalable, while mistakes made at this step will cause additional expenses, loss of competitive qualities and, of course, clients. This article discusses the advantages and disadvantages of each technique.

    Improved Touch Support with MFC 10

    The introduction of the iPad and other slates demonstrates that end users have a strong appetite for touch-enabled experiences. MFC 10 adds comprehensive support for touch functionality, allowing users with tablet PCs and digitizers to interact with applications in a simple, natural manner, including gestures and multi-touch.

    C++ Programming: Versionable Object's Serialization using MFC - Part 1

    Learn about MFC serialization and files version management in dialog applications.

    C++ Programming: Versionable Object's Serialization using MFC - Part 2

    MFC serialization and files version management in Multiple Document Interfaces applications (MDI)

    The Smart Pointer That Makes Your C++ Applications Safer - std::unique_ptr

    Using shared_ptr instead of raw pointers helps you avoid the common pitfalls associated with raw pointers but in some cases, its performance isn't satisfactory. Unique_ptr is a new C++0x smart pointer that is compact, fast and fully compatible with the standard library. Find out how to use unique_ptr to make your code safer without sacrificing performance.

    Using the Windows 7 Ribbon with Visual C++ Applications

    The Office 2007 suite of applications introduced the Ribbon UI element to combine and simplify application toolbars and menus into a single, consistent area for invoking task-specific application commands. Windows 7 ships with a Ribbon control, and Visual C++ developers have easy access to this built-in Ribbon functionality through MFC 10 enhancements.

    Reduce Repetitive Initialization Code in C++ Applications by Using Delegating Constructors

    You're often required to repeat identical pieces of initialization code in every constructor of a class that declares multiple constructors. That's because unlike a few other programming languages, The C++ programming language doesn't allow a constructor to call another constructor of the same class. Luckily, this problem is about to disappear with the recent approval of a new C++0x feature called delegating constructors which are explained in this C++ tutorial.

    Special Report: The Definitive Guide to Windows Phone 7

    Microsoft looks to the future with Windows Phone 7, is it enough to catch up with the competition? Read along to learn how WP7 differs from past versions of Windows Mobile and how it matches up against its rivals.

    Classification Of Point In Polygon

    Classify a point respect to a plane polygon that can be concave (i.e. with some angle grater than 180 degrees). Good performance, excellent stability.

    Simplex Optimization Algorithm and Implemetation in C++ Programming

    The article introduces the simplex algorithm, provides a useful C++ function to optimize target function parameters, and shows rich examples, figures, flowcharts. source code is also attached with the article.

    C++ Tutorial: Pointer-to-Member Function

    The tutorial talks about the grammar of C++ pointer-to-member function, their common applications, and their under-the-hood implementations.

    Rich Integration with the Windows 7 Shell through IShellLink

    Shell Links are a Windows feature that has been present since the very first 32-bit Windows release in 1995, and are the technology that the ubiquitous Windows shortcuts are built upon. Windows 7 Jump List tasks also use Shell links, creating renewed interest in using Shell links as a technique for interacting with applications.

    New Features in ASP.NET MVC 2.0

    Discover the new features in ASP.NET MVC 2.0 and how you can leverage them in your applications.

    Windows 7 Taskbar Support and MFC 10

    The Windows 7 Taskbar is one of the most noticeable and useful features of the new operating system, and MFC 10 introduces a number of enhancements that make it easy to integrate the Taskbar with your application.

    Building a Store Locator ASP.NET Application Using the Google Maps API - Part 1

    This ASP.NET tutorial shows how to use the free Google Maps API to build a store locator ASP.NET application.

    ASP.NET Developer Techniques for Dealing With Long Running Processes

    ASP.NET Developers, do you have ASP.NET pages that are slow to respond to the user and/or timeout. Try this technique to move those processes to the background and provide feedback to the user.

    C++ Programming News: The C++0x Final Committee Draft Has Been Approved

    ISOC C++ standards committee moves one step closers to the completion of the C++0x standard.

    C++ Programming: Static Code Analysis and the New Language Standard C++0x

    The article discusses the new capabilities of the C++ programming language described in the standard C++0x and supported in Microsoft Visual Studio 2010. By the example of PVS-Studio, we will see how the changes in the language influence static code analysis tools.

    C++ Programming: Using Initializer Lists And Sequence Constructors in C++0x

    Developers rejoice, the C++0x standard has changed the rules of initialization to allow you to initiate almost any object.

    Lessons on Development of 64-Bit C/C++ Applications

    The course is devoted to creation of 64-bit applications in C/C++ language and is intended for the Windows developers who use Visual Studio 2005/2008/2010 environment.

    Changes to MFC in Microsoft Visual Studio 2010

    This article describes the changes to MFC or the IDE in relation to MFC in Microsoft Visual Studio 2010.

    Customizing MFC Document Recovery

    This C++ tutorial demonstrates how MFC 10 delivers on it's promise by delivering the boiler-plate functionality required to build a professional Windows C++ application with minimal effort while allowing .NET developers to customize aspects of MFC behavior.

    TIP: Half Size Triangular Matrix

    Learn about a technique that allows you to use half the data storage when you have a symmetric distance matrix or other similar triangular matrix.

    Improve Application Quality with Microsoft Foundation Class (MFC) Restart and Recovery

    Windows Vista and 7 provide the ability to restart crashed or hung applications and recover your work. By building on the strength of the Document-View Architecture, Microsoft Foundation Class (MFC) 10 allows new and existing applications to easily take advantage of these Windows features.

    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.

    Using Microsoft's Chart Controls In An ASP.NET Application: Serializing Chart Data

    This article, by Scott Mitchell, shows how to store (and load) the data generated by the Microsoft Chart Controls to disk or some other store.

    Calculating Pi to arbitrary number of digits

    The code calculates the value of Pi to arbitrary number of digits such as 100, 1000 etc. The article describes the theory behind the code.

    What's New in ASP.NET MVC 2.0?

    Microsoft Visual Studio 2010 and .NET framework 4.0 bring many new exciting features for developers. One of them is the improved ASP.NET MVC 2.0. This article focuses on the new and improved characteristics in this popular web application framework from Microsoft.

    Enhance MFC Applications with Preview and Thumbnail Support

    C++ Programming is having a revitalization of Microsoft Foundation Classes (MFC) which continues to deliver simple integration with powerful Windows features. In this article, we'll look at Preview and Thumbnail Support, and how these features can be easily implemented in an MFC application.

    How to make a virtual tree control -- really virtual

    A comprehensive article on how to make a CTreeCtrl really virtual -- good for handling large data trees.

    Supporting Windows Search with MFC

    Windows 7 brings a new level of maturity to Windows Search, and by taking advantage of new MFC functionality first publicly unveiled with the Beta 2 release of Visual Studio 2010, writing a Search filter handler for an MFC application can be easily accomplished.

    64-bit Loki

    Review this report about the testing of portability of the Loki library for 64-bit systems with the help of Viva64 code analyzer. It contains recommendations for use of the library as well as explores the peculiarities of libraries built on templates.

    Improving Application Quality with Windows Error Reporting

    Leveraging Windows Error Reporting (WER) to use Microsoft's existing infrastructure for providing end users with patches and workarounds, a critical aspect of the application life-cycle management.

    About size_t and ptrdiff_t

    The article will help the readers understand what size_t and ptrdiff_t types are, what they are used for and when they must be used. The article will be interesting for those developers who begin creation of 64-bit applications where use of size_t and ptrdiff_t types provides high performance, possibility to operate large data sizes and portability between different platforms.

    Easy C++ - Delegates / Generic Properties / Closures / Thunks

    Implement delegates in C++ (which normally most of C++ compilers don't support) in a way that is really easy and that is cross-compiler compatible.






    Internet.com
    The Network for Technology Professionals

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers