Turn your Mobile Apps into m-commerce apps – Learn More!
 

Code Snippets


You're Browsing As A Guest! Register Now...
Become an Expert!

Join 414,937 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,674 people online right now.Registration is fast and FREE... Join Now!




Programming Languages

ActionScript(105)Linux & UNIX(10)
ASP(20)Bash(14)
ASP.NET(3)Python(137)
Assembly(49)Lisp(28)
C(284)Lua(47)
C#(511)mySQL(48)
C++(860)Other Languages(95)
CGI/Perl(54)PHP(317)
ColdFusion(16)Regular Expressions(27)
HTML/CSS(56)Ruby(72)
Java(547)Scheme(38)
JavaScript(200)VB.NET(379)
jQuery(15)Visual Basic(246)

10 Newest Snippets

Submitted: September 1, 2010        Views: 18
Checks whether a given number is automorphic or not.
Submitted: September 1, 2010        Views: 15
Calculates the Binomial Coefficient
Submitted: August 23, 2010        Views: 10
This snippet finds the maximum non-negative sum of contiguous elements in an array, using Kadane's algorithm. This algorithm is an example of a greedy algorithm, the running time is O(n)
Submitted: August 31, 2010        Views: 42
This is a postfix converter, it converts an infix(equation) to postfix and calculates the result of the generated postfix
Movement Class in Java by 11ty3
Submitted: August 31, 2010        Views: 28
A class to help implement 360 degree movements in Video Games
Submitted: August 31, 2010        Views: 65
Adds a fading ability to windows forms.
Submitted: August 30, 2010        Views: 71
Contains the formulas to convert to and from any measurement of temperature.
Submitted: July 18, 2010        Views: 27
Here is a function that you can add into your midlet and call to play any MP3 file on the web on your midlet.
Submitted: August 27, 2010        Views: 142
This snippet will allow the user to find the sum of all the numbers below 1000 that are divisible by 3 or 5.
Simple Calculator in Java by .i7
Submitted: August 26, 2010        Views: 105
This simple calculator will allow the user to add, subtract, multiply, or divide two doubles as specified.

Top 5 Snippets

Submitted: November 11, 2005        Views: 321775
Ever wonder how you could get partially transparent backgrounds for div boxes with only HTML/CSS? Well here's how.
Scrollable Div in HTML/CSS by deadlypetal
Submitted: April 13, 2007        Views: 170368
Div layer with a scroll bar
Submitted: January 4, 2006        Views: 165963
Reads and puts value in a textbox in its original text format.
Submitted: March 2, 2005        Views: 147350
Implements the Linked List Data Structure.
Submitted: February 25, 2005        Views: 98319
Two functions, used to convert c++ strings from upper case to lowercase and vice versa. Each takes a string argument, and returns the converted string. Please note that parameters should be validated before passing them to the functions.



Submit a Code Snippet and get a chance to win a </dream.in.code> 1GB Thumb Drive!