The article gives an example of false-sharing in multi-threading programming using C++0x std::thread.
Latest Miscellaneous Articles - Page 5
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.
Microsoft rolls out an update to its Productivity Power Tools, a set of extensions to Microsoft Visual Studio 2010 designed to make developers' lives easier.
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.
This article introduces a simple wrapper template.
Botao Jia discusses the grammar of the C++ Pointer-to-Member Function, common applications and under-the-hood implementations.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...
Learn how to use a for loop to loop through all of the images found on a web page and save them via the DownloadFile method of the WebClient object.
SOLID principles form the base for writing good and clean object oriented code in C#. Learn about the S.O.L.I.D principles and explore C# coding samples for each.