Home >> Visual C++ / C++ >> C++
C++
next
How to make a virtual tree control -- really virtual
Rating: 




codesquirrel - 01/18/2010
A comprehensive article on how to make a CTreeCtrl really virtual -- good for handling large data trees.
Supporting Windows Search with MFC
Rating: none
Nick Wienholt (Author) - 01/11/2010
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 a MFC application
can be easily accomplished.
64-bit Loki
Rating: none
Andrey Karpov - 10/20/2009
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
Rating: 




Nick Wienholt - 10/19/2009
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
Rating: 




Andrey Karpov - 10/12/2009
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.
[Updated] Easy C++ - Delegates / Generic Properties / Closures / Thunks
Rating: none
Ali Imran - 09/18/2009
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.
[Updated] Combinations in C++
Rating: 




Wong Shao Voon - 09/14/2009
Learn about a simple algorithm to find combinations systematically using C++.
[Updated] A Personal Virtual Keyboard for (nearly) Every Keyboard
Rating: 




David Kelvin - 09/02/2009
Generate multiple (on-screen)Virtual Keyboards to include into your portable application via a DLL, so that your users can take theirlanguage/keyboard with them on their travels, even if the PC they use
does not have their home keyboard installed.
[Updated] Permutations in C++
Rating: 




Wong Shao Voon - 09/01/2009
The technique of finding permutations also provides source code for the recursive implementation. Also, learn how to use the STL template function next_permutation().
Opening Modal Managed Windows from MFC
Rating: 




Marius Bancila - 08/28/2009
This article explains how one can use WPF and Windows Forms windows from native code as modal windows, and what are the problems that can arise and what are the solutions.
[Updated] Five Cents on Arithmetic Encoding
Rating: 




Aliaksei Sanko - 08/24/2009
Learn about a classical arithmetic compression implementation (CACM) optimization.
C++ Resource Management with shared_ptr
Rating: 




Nick Wienholt - 08/17/2009
Correctly managing the release of heap-allocated memory and other resources has been one of the great challenges of C and C++ development for decades. The new shared_ptr class, shipping with Visual Studio 2008 SP1 and Visual Studio 2010, makes dealing with resource management dramatically simpler.
Linear Search based algorithm for Mth Lexicographic ordering of Mathematical Permutation and Combina
Rating: none
Joe Mariadassou - 08/12/2009
Algorithms to compute the M-th lexicographic ordering of a permutation or combination and the inverse problem of the rank of a given permutation or sequence.
Using WPF with Managed C++
Rating: 




Zeeshan - 08/12/2009
Discuss on WPF using Managed C++. Review a sample loan amortization program.
CWinAPIException
Rating: 




Ovidiu Cucu - 07/13/2009
MFC-extension class for handling Windows API errors
A Case study on MFC
Rating: 




Issam Lahlali - 06/17/2009
MFC Analysis with CppDepend.
[Updated] TIP: Using Unions for Manipulating Bits
Rating: none
bat_lubo2001 - 06/12/2009
See how to set up a single bit!
BOOST Multi-Index Container and Transaction Storage
Rating: none
Constantin Fishkin - 06/10/2009
Learn how to implement s multi-index collection.
Visual Modeling of Complex Reactive Systems
Rating: none
JeromeWiz - 05/28/2009
Check out this commercial-grade cross-platform Harel UML StateChart open-source application framework named StateWizard for concurrent, distributed, and real-time reactive system development with simplicity, efficiency, and scalability.
STL and BOOST Parsing Iterators
Rating: 




Constantin Fishkin - 05/19/2009
Discover an example of a parsing iterator. You'll find that the BOOST library provides convenient tools for an efficient iterator implementation, specifically, the boost::iterator_facade class.
[Updated] Pointer-to-Pointer and Reference-to-Pointer
Rating: 




Wong Shao Voon - 04/28/2009
Learn the reason behind using pointer-to-pointer and reference-to-pointer to modify a pointer passed to a function, to understand their usage better.
A Fast Version of Conway's Game of Life with Thread and DirectX Draw
Rating: none
Jerry Jiang - 04/14/2009
Sample code for a fast version of Conway's Game of Life with thread and DirectX draw.
Tip: An Optimized Formula for Alpha Blending Pixels
Rating: none
Wong Shao Voon - 04/02/2009
Discover how to optimize by simplifying the formula.
[Updated] Permutations in C++, Part 2
Rating: 




Wong Shao Voon - 03/19/2009
Speed up the work of finding permutations among different processors.
[Updated] Combinations in C++, Part 2
Rating: 




Wong Shao Voon - 03/17/2009
Discover four new algorithms for finding combinations.
TIP: Be Careful with Dummy Reference Arguments
Rating: none
Ashwin Kumar - 02/24/2009
Reference (output) arguments could be disastrous sometimes. Learn how to avoid these problems.
A Multidevice ASIO Output Plugin for WinAMP
Rating: none
Domagoj Saric - 02/19/2009
Explore a C++ replacement of the official ASIO SDK that supports multiple ASIO devices put to the test in a tiny WinAMP output DLL.
Exploring the New MSBuild Features for Visual C++ 2010
Rating: none
Nick Wienholt - 02/02/2009
MSBuild is the build platform that Microsoft is using across all developer and related tools moving forward. Visual C++ is the last major compiler offering from Microsoft to move onto the MSBuild platform, with the Visual C++ 2010 release using MSBuild as its native project format. Explore the MSBuild basics from a C++ perspective, and see how it can improve your build process.
Optimizing 64-Bit Programs
Rating: none
Andrey Karpov - 12/15/2008
Discover some ways to increase the performance of 64-bit Windows applications.
Recursion Primer Using C++, Part 2
Rating: 




Zeeshan - 11/18/2008
Further your understanding of recursion.
C++ CLR Compilation
Rating: none
Nick Wienholt - 11/11/2008
The Visual C++ compiler has a number of switches that control the generation of native and managed instructions within an executable image. Choosing the correct setting is an important consideration for application performance, deployment, and execution, as well as having implications about which development toolkits can be used.
[Updated] CBitPointer: Easy Bit Manipulation
Rating: 




Ahmad Hawwash - 11/10/2008
Bits can't be accessed directly as a simple data type. Learn how to manipulate bits (nearly) as any simple data type.
The Anatomy of a C++ Program
Rating: none
Bradley Jones - 09/04/2008
C++ programs consist of classes, functions, variables, and other component parts. To get a sense of how a program fits together, you must see a complete working program.
[Updated] Dynamic Programming: Combination Sum Problem
Rating: 




Nirav Bhatt - 08/25/2008
Find the coin combinations that add up to a dollar.
[Updated] Tip: String Wrapper for Formatted String Output in C++
Rating: 




Michael Furman - 08/11/2008
Learn how to construct a simple and lean string class wrapper that allows you to send formatted output to a string directly.
32 OpenMP Traps for C++ Developers
Rating: none
Andrey Karpov - 07/30/2008
Pursue a description of a number of parallel code errors that lead to incorrect behavior of parallel programs created with OpenMP.
A TR1 Tutorial: Smart Pointers
Rating: 




Marius Bancila - 07/16/2008
Learn about the new smart pointers available in the standard library, shared_ptr and weak_ptr.
TIP: Round a Decimal to an Integer
Rating: none
Anpino - 07/09/2008
Discover a more efficient way to round decimals to integers.
A TR1 Tutorial: Regular Expressions
Rating: 




Marius Bancila - 07/02/2008
Discover an overview on the algorithms and classes for regular expression in TR1, with examples for matching, searching, and replacing.
A TR1 Tutorial: Generating Random Numbers
Rating: none
Marius Bancila - 06/30/2008
TR1 introduces new random number generators and distribution classes for producing numbers with a specific distribution. Learn how to use these new classes.
A TR1 Tutorial: Unordered Containers
Rating: 




Marius Bancila - 06/19/2008
Learn about the unordered containers available in TR1 and see examples for using them.
A TR1 Tutorial: Class std::tr1::tuple
Rating: 




Marius Bancila - 06/17/2008
Learn how to use std::tr1::tuple, an implementation of a heterogeneous fixed size sequence from the VC++ 2008 Feature Pack.
A TR1 Tutorial: Class std::tr1::array
Rating: none
Marius Bancila - 06/09/2008
Learn how to use std::tr1::array, an implementation of a fixed size sequence from the VC++ 2008 Feature Pack.
Implementing a Simple 2D Object Tracker
Rating: 




OlegK - 05/14/2008
Learn how to combine four image alignment algorithms (Lucas-Kanade, forwards-compositional, Baker-Dellaert-Matthews, and Hager-Belhumeur) into a 2D object tracker with dynamic templates and template pixel weights.
Visual C++ 2008 Feature Pack: MFC Enhancements
Rating: 




Nick Wienholt - 05/12/2008
The Visual C++ 2008 Feature Pack incorporates C++ language changes that move C++ closer to the upcoming C++0x standard. The new language elements build on the powerful features of the C++ language, and include support for regular expressions, function objects, and a number of new STL containers as well as many other new features. Review some of the new language features, and see how they can be incorporated into C++ applications.
Recursion Primer Using C++, Part 1
Rating: 




Zeeshan - 04/28/2008
There are many different styles of recursion that can be used in a variety of instances. Learn about the styles and find the one that is best for your current project.
Basic Concept of Memory Management in a C++ Class
Rating: 




Anpino - 04/08/2008
Explore an elementary quiz about the basic concept of memory management in standard C++.
Visual C++ 2008 Feature Pack: MFC Enhancements
Rating: 




Nick Wienholt - 04/07/2008
Hot on the heels of the significant MFC updates that were delivered with the release of Visual Studio 2008, the Visual C++ 2008 Feature Pack significantly boosts the ability of MFC to deliver modern-looking user interfaces that will be familiar to Windows and Office users. Look at these new controls and see how MFC developers can significantly improve their application's look and feel.
[Updated] Templated Visitor Base Class
Rating: none
JohnW@Wessex - 03/12/2008
Discover a templated visitor pattern base class designed to get around problems that some compilers that have with certain aspects of modern template techniques, particularly typelists and meta-programming.
MFC Feature Pack: An Introduction
Rating: 




Marius Bancila - 03/11/2008
Learn about MFC Feature Pack, a Microsoft extension to MFC that allows developers to enable Office 2007, Visual Studio, or IE look and feel to their VC++ applications.
next
