Codes from Developers

C#

prototype,pattern

Prototype Pattern


C++

Binary,Search,tree,with,insertion,deletion,finding,an,element,c++

Binary Search tree with insertion, deletion, finding an element in C++


PHP

Class,for,ini,Files,in,php

Class for INI Files in PHP


Java

Using,JPopupMenu,java

Using JPopupMenu in java


C++

Write,text,to,a,file,c++

Write text to a file in C++


JavaScript

js,restrict,prevent,special,chars,allowed,letters,numbers

This javascript code lets user only enter letters and numbers.


Delphi

BeginUpdate,EndUpdate,delphi

The following example adds a panel to the status bar control when the user clicks the button and adds a caption to the panel. The code uses BeginUpdate and EndUpdate to prevent repaints until the operation is complete. A try...finally block ensures that EndUpdate is called even when an exception occurs.


C#

memento,pattern

Memento Pattern


C#

Builder,Pattern

Builder Pattern


PHP

Cascade,Drop,Down,php

Cascade Drop Down in PHP


C#

c#,npr,factorial,permutation

This Code Shows How to Calculate nPr This C# Program Calculates nPr. Here There are n! (n factorial) permutations of n symbols. A r-permutation of n symbols is a permutation of r of them. There are n!/(n – r)! different r-permutations of n symbols.


Delphi

client,dataset,index,delphi

The code below creates a new case-insensitive index at run time and then sorts the client dataset using that index. The user specifies the field on which to sort the client dataset in an edit control.


C#

c#,volume,surface,area,sphere

This Code Shows How to find Volume and Surface Area of a Sphere


C#

c#,search,using,predefined,function

This Code Shows How to Perform Searching using Predefined Functions


Delphi

TBitmap,CreateFromStream,delphi

This example demonstrates how to create a TBitmap using the CreateFromStream constructor.


Java

Clock,Applet,java

Clock Applet in Java


PHP

JPEG,Directory,thumbnail,system,php

JPEG Directory thumbnail system in PHP


C++

Program,Overloading,difference,operator,complex,arithmetic

Program for Overloading the difference operator for complex arithmetic


C++

Simple,calculater,program,C++

Simple calculater program in C++


PHP

PHP3,Authentication,using,MySQL,function,php

PHP3 Authentication using MySQL (also has nice query_db() function to return an array of arrays from a MySQL query result).