Popular Codes

Login

Description This code makes the Login ID of any person with the required password. Source Code <BODY> <center><table border=1> <tr><form name=members><td ...

1 Comments. 7639 views since Sep 22, 2008

Thread Inner Classes

Description This code shows the implementation of threads with inner classes. Source Code class InnerThread1 { private int countDown = 5; private Inner inner; private class Inner extends Thr ...

0 Comments. 7199 views since Sep 10, 2008

Simplified DES (SDES) Algorithm

Description This is a Java code for Encryption, Decryption and Key generation in Simplified DES (SDES) algorithm used in Cryptography and Network Security. Sample output: >SKT_SDES 0000011111 01000111 Key K1: 01101011 Key K2: 101 ...

8 Comments. 5431 views since Sep 23, 2008

Shortest Job First (SJF)

Description C Language: This is a sample code to implement the Shortest Job First Algorithm, Operating System Source Code #include<conio.h> void main() { int n,i,j,a[10],b[10],temp; float sum,avg_w ...

4 Comments. 2977 views since Aug 22, 2008

Hello World using Pointer

Description This a simple code show how to make Hello World application in C with and without using pointers. Source Code /* Simple Version......... */ #include int main() { printf( ...

12 Comments. 2815 views since Jul 29, 2008

B Tree

Description Program of insertion and deletion in B tree...In data structures, a B-tree is a tree data structure that keeps data sorted and allows searches, insertions, and deletions in logarithmic amortized time. Unlike self-balancing binary se ...

0 Comments. 2372 views since Jan 1, 2009

JTree: File and Directory Tree

Description This is a sample code of JTree. By using this code you can make the Tree of Diretories and Files for Example: Windows File Explorer. Source Code import java.awt.*; import java.io.File; import ...

0 Comments. 2299 views since Aug 16, 2008

Breath First Search(BFS) and Depth First Search (DFS)

Description THIS CODE IS SIMPLE BUT NOT EASY TO WRITE SO PLEASE BEFORE RUNNING THE PROGRAM SEE THE CODE AND THEN RUN IF YOU DO'NT UNDERSTAND THEN SUMMIT QUERRY IN email address dwarikachandra@gmail.com Source Code <pre name="code" cl ...

0 Comments. 2279 views since Jan 6, 2009

Swing and Thread for Length Operation

Description This code shows the lengthy process for searching a particular bank account's remaining balance. Source Code package yfrindia; import java.awt.BorderLayout; import java.awt.FlowLayout; ...

0 Comments. 2177 views since Sep 11, 2008

Floyd Warshall Algorithm

Description This program shows the implementation of Floyd Warshall Shortest Path Algorithm. Source Code #include&lt;iostream.h&gt; #include&lt;conio.h&gt; #include&lt;stdio.h&gt; #include&lt;stdlib. ...

1 Comments. 2144 views since Sep 1, 2008

Interconversion of Number System

Description It is a program for conversion of Number System viz. Binary to Decimal,Decimal to Binary,Decimal to Octal, Decimal to Hexadecimal,Octal to Decimal,Octal to Binary,Binary to Octal,Binary to Hexadecimal, Hexadecimal to Binary, Hexadec ...

0 Comments. 2119 views since Sep 4, 2008

Insertion in AVL Tree

Description Program for insertion in AVL tree...n Data Structure, an AVL tree is a self-balancing binary search tree, and it is the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node diff ...

0 Comments. 2096 views since Jan 1, 2009

Anti Filter

Description This code provides the user with the option to provide Anti Filter Sample colour to the desired Website. Source Code &lt;body style=&quot;text-align: center&quot; bgcolor=&quot;#00000 ...

0 Comments. 2095 views since Sep 10, 2008

Counter with Swing & Thread

Description This code shows a circle which on pressing of start button starts filling the circle with red colour and on pressing stop, stops the activity. Source Code import java.awt.BorderLayout; impor ...

0 Comments. 1960 views since Sep 10, 2008

Multi Form Wizard in PHP

Description If we want to use a form that displays more than one page and preserves data from one page to the next. For example, our form is for a survey that has too many questions to put them all on one page. In this case, we can use session ...

0 Comments. 1912 views since Mar 22, 2009

Regular Falsi (Method of false position) for finding roots of equation

Description it is method to find root as an example equation x^3-2x-5 is taken Source Code #include&lt;stdio.h&gt; #include&lt;conio.h&gt; #include&lt;math.h&gt; float f(float x); void main() ...

0 Comments. 1808 views since Dec 28, 2008

JComboBox: Date & Time

Description This is a Code which demonstrates how to add Listeners to a ComboBox & shows Date &/or Time according to the System Date & Timings in different formats based on the selection in the ComboBox. Source Code <pre name="code" ...

0 Comments. 1786 views since Aug 21, 2008

Determinant Calculator

Description To calculate Determinant of a Matrix Using Recursion(Max: 4*4) Source Code //TO CALCULATE THE DETERMINANT OF MATRIX OF ANY ORDER USING RECURSION #include&lt;iostream.h&gt; #include&lt;coni ...

0 Comments. 1660 views since Sep 1, 2008

Java Script: Snowfall

Description This is a program which shows snow fall. Source Code &lt;script&gt; var snowmax=35 var snowcolor=new Array(&quot;#aaaacc&quot;,&quot;#ddddFF&quot;,&quot;#ccccDD&quot;) var snowtype ...

0 Comments. 1597 views since Sep 5, 2008

Bytes Counter: Text File

Description Program to find the number of Bytes in a Text File. Source Code #include&lt;fstream.h&gt; #include&lt;process.h&gt; #include&lt;stdio.h&gt; #include&lt;iostream.h&gt; #include&lt;proce ...

1 Comments. 1471 views since Aug 25, 2008