Code Snippets


Welcome to Dream.In.Code
Getting Help is Easy!

Join 103,037 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,434 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!




Programming Languages

ActionScript(85)Linux & UNIX(8)
ASP(18)Bash(10)
Assembly(24)Python(25)
C(140)Lisp(3)
C#(179)mySQL(36)
C++(401)Other Languages(31)
CGI/Perl(43)PHP(147)
ColdFusion(14)Ruby(16)
HTML/CSS(43)Scheme(19)
Java(192)VB.NET(208)
JavaScript(131)Visual Basic(110)

10 Newest Snippets

Submitted: August 8, 2008        Views: 3
A function which is not OS dependent, which copies one file to another by opening the file, and writing it to another. Works with all file extensions.
Factorial Finder in Java by KYA
Submitted: August 4, 2008        Views: 5
Finds N! where n is an integer (in this case).
Submitted: August 8, 2008        Views: 16
PHPs version of the ASP functions left() and right()
Submitted: August 7, 2008        Views: 15
This is a snippet that will perform a BubbleSort on a string (char) array
Submitted: August 7, 2008        Views: 14
Submitted: August 4, 2008        Views: 13
Submitted: July 29, 2008        Views: 16
This snippet will become handy when you want to search for a particular keyword in side your stored procedures and functions.
Submitted: August 6, 2008        Views: 26
A printf() type of function used to center text on an 80 character width display.
Submitted: August 6, 2008        Views: 35
Gets the moons age from new, in decimal days, accurate to the nearest second.
Submitted: August 6, 2008        Views: 27
A few functions which perform checks on which category a char could fall under: letter, upper case, lower case, number or symbol

Top 5 Snippets

Submitted: November 11, 2005        Views: 124650
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: 69237
Div layer with a scroll bar
Submitted: February 25, 2005        Views: 47187
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.
Submitted: March 2, 2005        Views: 45591
Implements the Linked List Data Structure.
Countdown Timer in ActionScript by reyco1
Submitted: December 31, 2006        Views: 43580
good for Games! or whatever :D Written by senocular (senocular.com). Original can be found at http://www.kirupa.com/developer/actionscript/setinterval2.htm



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







Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->