The article gives an example of false-sharing in multi-threading programming using C++0x std::thread.
Latest Miscellaneous Articles - Page 5
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.
Microsoft Updates Power Tools for Microsoft Visual Studio
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.
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.
An Efficient Pointer Wrapper in C++ for Scientific Computation
This article introduces a simple wrapper template.
C++ Tutorial: Pointer-to-Member Function
Botao Jia discusses the grammar of the C++ Pointer-to-Member Function, common applications and under-the-hood implementations.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
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.
.NET Framework: Collections and Generics
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...

How to use Visual Studio 2012 to Download Images from Websites
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 in C# - An Overview
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.


