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.
Latest Algorithms & Formulas Articles - Page 2
Linear Search based algorithm for Mth Lexicographic ordering of Mathematical Permutation and Combina
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.
Tip: An Optimized Formula for Alpha Blending Pixels
Discover how to optimize by simplifying the formula.
Recursion Primer Using C++, Part 2
Further your understanding of recursion.
Dynamic Programming: Combination Sum Problem
Find the coin combinations that add up to a dollar.
Tip: String Wrapper for Formatted String Output in C++
Learn how to construct a simple and lean string class wrapper that allows you to send formatted output to a string directly.
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.