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
Comparing the stdio and iostream C++ Libraries
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.

.NET Design Patterns: The Delegation Pattern
Learn how to pass off the delegation of an operation to a different class.

Using the BitVector Structure in Visual Basic
The BitVector structure has many useful properties, and knowing how to make proper use of memory will always improve the performance of your applications.
Load Testing: SLA First
Here are some guidelines to make implementing load testing easier and more likely to be well received by your team.