C and C++

Below is the current library of C/C++ functions in the lexicon. This list will continue to grow and evolve as more code is collected and added to the library. The code segment below are alphabetized by the name given to the code segment itself (not necessarily any one individual function). As with all code in the library, code segments are also described with the platforms tested on, when it was submitted and any special notes regarding the usage of the code.

Snippet Listing

Compound Interest FormulaConvert Hex Color To RGB
Convert Seconds to DurationDistance Formula in C++
Insertion SortQuickSort an Array of Integers
Split A String With Another StringTic-Tac-Toe Win Check
Validate IPv4 Address