School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

 

Code Snippets


Welcome to Dream.In.Code
Become an Expert!

Join 306,841 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,704 people online right now. Registration is fast and FREE... Join Now!





Programming Languages

ActionScript(104)Linux & UNIX(9)
ASP(20)Bash(13)
ASP.NET(1)Python(120)
Assembly(42)Lisp(12)
C(223)Lua(36)
C#(418)mySQL(46)
C++(678)Other Languages(73)
CGI/Perl(52)PHP(272)
ColdFusion(14)Regular Expressions(22)
HTML/CSS(53)Ruby(41)
Java(386)Scheme(31)
JavaScript(185)VB.NET(323)
jQuery(9)Visual Basic(227)

10 Newest Snippets

Submitted: November 4, 2009        Views: 5
This method gets a char type parameter and returns a char type value as follows: * if the char is a lower case letter, it will return it's upper case. * if the char is an upper case letter, it will return it's lower case. * if the char is not a letter, it will return it as is.
Submitted: November 10, 2009        Views: 6
A fairly simple sorting algorithm. Best case O(n), worst case O(n^2)
Submitted: October 11, 2009        Views: 13
This code takes a positive integer as input from the user and outputs the sum of all prime numbers less than or equal to the integer entered.
Submitted: November 18, 2009        Views: 17
sorts an array in O(n log n) time in best and average cases. n^2 of the array is sorted in the opposite order. ie. Ascending vs Descending order.
Submitted: November 10, 2009        Views: 7
Decrypt a string that has been encrypted using Caesar's Cipher. This is NOT the same as the encrypt snippet, this decrypts a string encrypted using that (reverses it back to the original message).
Submitted: November 13, 2009        Views: 40
The following functions were created for various ways to limit text entry into a textbox. By calling the appropriate function, the keypress is handled accordingly. Hopefully, these functions will benefit or help to expand upon this area of the textbox.
Submitted: November 18, 2009        Views: 19
this code create folder named on date if missing so we can use this code to store daily updates like save application log file in daily new created folder
Submitted: November 19, 2009        Views: 42
get all column names when u select particular table then display all columns of that table
Submitted: November 11, 2009        Views: 153
This takes in user input and the computer guesses it in the fewest number of tries as possible. When the number to find is between 0 and 50, the maximum number of tries is 6.
Submitted: November 12, 2009        Views: 173
This is a snippet demonstrating how to get all the computer names on the network

Top 5 Snippets

Submitted: November 11, 2005        Views: 233219
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: 127476
Div layer with a scroll bar
Submitted: January 4, 2006        Views: 114288
Reads and puts value in a textbox in its original text format.
Submitted: March 2, 2005        Views: 100420
Implements the Linked List Data Structure.
Submitted: February 25, 2005        Views: 76981
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!







Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month