Architecture
Databases
Enterprise
.NET
Java
OpenSource
Mobile
Web Dev
DevXtra Blogs
Daily News
Tips Bank
eBook Library
Subscribe
Full Site
RSS
Copyright 2018 © QuinStreet Inc. All Rights Reserved
SEARCH
×
We have made updates to our
Privacy Policy
to reflect the implementation of the General Data Protection Regulation.
DevX Tips Bank: Algorithms
09/10/2009
Adding Workdays to a Date
To calculate a future or past date taking only working days into account, use this handy …
05/05/2009
Algorithm to Switch Between RGB and HSB Color Values
Changing between RGB and HSB color values is easy using this algorithm.
09/02/2008
Finding Modulus of a Very Large Number with a Normal Number
Divide the number into smaller numbers, then find the remainders of these smaller numbers. …
10/02/2007
Converting Numbers to Column Names in Excel 2007
While converting to Excel 2007, I had to update the column number to string code in my …
04/12/2006
Reverse a Numeric Value Without Using String Utilities in Java
Find out how to use the NumberReverse to reverse a given number without using string …
03/29/2006
Convert Numbers to Excel Column Names
This algorithm converts column numbers (1x) to Excel column names.
11/07/2005
The
Remove_if()
Algorithm
It's easy to fall into the trap of thinking that the remove_if() …
08/02/2005
Retrieving Only Unique Elements from Two Sets
This algorithm helps you to retrieve all the elements contained in the first set (set1), …
07/11/2005
Incrementing Iterators
You can use iterators for a STL set object to loop through the set elements 1 by 1. But …
01/24/2005
The
reverse()
Algorithm
Find out how to use the reverse() algorithm to reverse the order of elements in any …
01/04/2005
The
generate()
Algorithm
Learn how to use the generate() algorithm to fill up a sequence …
12/09/2004
Using the
count_if()
Algorithm
You can use the count_if() algorithm to count the number of elements in a container …
12/06/2004
Using Insert Iterators
Insert iterators come in very handy when you need to populate a container using an STL …
11/29/2004
Using STL Binders
Learn how to use STL binders to use binary function objects as unary function objects in …
11/18/2004
Favor the Function Object to the Function Pointer in STL Algorithms
Many of the STL algorithms have two versions, with one version taking one less parameter …
Older Articles
Home
Mobile Site

Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved