Newsletter
Advertiser Disclosure
Architecture
Databases
Enterprise
.NET
Java
OpenSource
Mobile
Web Dev
DevXtra Blogs
Daily News
Tips Bank
eBook Library
Subscribe
Twitter
Full Site
RSS
Copyright 2021 © QuinStreet Inc. All Rights Reserved
Search
SEARCH
Submit
DevX Tips Bank: Algorithms
Adding Workdays to a Date
To calculate a future or past date taking only working days into account, use this handy …
Algorithm to Switch Between RGB and HSB Color Values
Changing between RGB and HSB color values is easy using this algorithm.
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. …
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 …
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 …
Convert Numbers to Excel Column Names
This algorithm converts column numbers (1x) to Excel column names.
The
Remove_if()
Algorithm
It's easy to fall into the trap of thinking that the remove_if() …
Retrieving Only Unique Elements from Two Sets
This algorithm helps you to retrieve all the elements contained in the first set (set1), …
Incrementing Iterators
You can use iterators for a STL set object to loop through the set elements 1 by 1. But …
The
reverse()
Algorithm
Find out how to use the reverse() algorithm to reverse the order of elements in any …
The
generate()
Algorithm
Learn how to use the generate() algorithm to fill up a sequence …
Using the
count_if()
Algorithm
You can use the count_if() algorithm to count the number of elements in a container …
Using Insert Iterators
Insert iterators come in very handy when you need to populate a container using an STL …
Using STL Binders
Learn how to use STL binders to use binary function objects as unary function objects in …
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