Main Page
From CodeCodex
What is CodeCodex?
CodeCodex is a wiki for finding and improving code.
Stop reinventing the wheel. Use CodeCodex to:
Browse and use pre-written code.
Learn new algorithms and methods for common programming tasks.
Use code in your own projects and submit new code for the community.
Improve performance of code in the repository and the organization of the library.
Get involved!
Request code that you'd like to see added.
Supply code that has been requested.
Visit the Community Portal.
Contribute your own code to the codex.
Search the web for great classes and functions to add.
Most Popular Articles
- Bubble sort
- Merge sort
- Count the number of occurrences of a specific character in a string
- Concatenate two strings
- Calculate the factorial of a number
- Escape sequences and escape characters
- Calculate Distance Between Two Points on a Globe
- Calculate an integer square root
- Trim whitespace (spaces) from a string
- Calculate the Fibonacci sequence
Most Popular Languages
Stylesheet languages - Query languages - Markup languages - File formats - Libraries - Programming languages - Template engines
Programming Languages
Ada - AppleScript - BASIC - Blitz BASIC - C - CAML - COBOL - C plus plus - C sharp - Caml - ColdFusion - Common Lisp - Delphi - F sharp - Fortran - Gibiane - Groovy - Haskell - J sharp - Java - MS-DOS - Matlab - Maya Embedded Language - Miranda - Objective Caml - PHP - Pascal - Perl - Prolog - Python - QBasic - Rexx - Ruby - Scheme - Seed7 - Tcl - VBA - Visual Basic - X86 Assembler - Zsh
Recently edited Java code
- Calculate the factorial of a number
- Calculate a triangle number
- Format a date for inserting into MySQL
- Remove blanks from a string
- Determine the size of a file
- Draw a scatter plot
- Trim whitespace (spaces) from a string
- Calculate the sum over a container
- Remove non-letters from a string
- Implementing the flood fill algorithm
- Generate a random password
- Generate a random number
- Bresenham's line algorithm
- Fibonacci sequence
- Hello world
Recently edited C code
- Calculate the factorial of a number
- Determining Filesystem Object Information
- Calculate the sum over a container
- I/O With Timeout
- Implementing the flood fill algorithm
- Bresenham's line algorithm
- Fibonacci sequence
- Hello world
- Comment
- Monty Hall problem analysis
- Escape sequences and escape characters
- Quicksort
- Round a number to a specific decimal place
- Calculate the average of a series
- String to decimal conversion
Recently edited Objective Caml code
- Remove blanks from a string
- Draw a scatter plot
- Trim whitespace (spaces) from a string
- Calculate the sum over a container
- Implementing the flood fill algorithm
- Generate a random password
- Derivative
- Bresenham's line algorithm
- Fibonacci sequence
- Hello world
- Read a file into a byte array
- Comment
- Shuffle an array
- Declare an array
- Retrieve the text of a URL
Recently edited Python code
- Calculate the factorial of a number
- Spam Prefiltering
- Remove blanks from a string
- Determine the size of a file
- Calculate the sum over a container
- Remove non-letters from a string
- Generate a random password
- Fibonacci sequence
- Hello world
- Append a string to a file
- Shuffle an array
- Find the number of minutes in a string
- Monty Hall problem analysis
- Escape sequences and escape characters
- Quicksort
Get involved
- Click here to request code.
- View requested code / articles
- Visit the Community Portal
- Search the web for great code to add.
- Contribute your own code to the library.