Try it! (Warning — it will require good intuition about kinship charts and, even with that, seems to be fairly difficult. However it is a pure logic puzzle: besides the explicit Clues, you’ll need only the definitions and most obviousContinue reading… Twelve Ancestors [clues:trails]
Sockets for interprocess communication
This is a simple tutorial on using sockets for interprocess communication. The client server model Most interprocess communication uses the client server model. These terms refer to the two processes which will be communicating with each other. One of theContinue reading… Sockets for interprocess communication
Bubble Sort
The source code for bubble sort. #include #define NUM 6 void swap(int arr[], int i, int j) { int tmp = arr[i]; arr[i] = arr[j]; arr[j] = tmp; } main() { int arr[NUM],i,j; // start reading nums for(i=0;i
Shell Sort
Source code for shell sort is provided below. #include #define NUM 6 main() { int arr[NUM],i,j, incr=2; // start reading nums for(i=0;i
Insertion Sort
Source code for Insertion sort in C language. #include #define NUM 6 main() { int arr[NUM],i,j; // start reading nums for(i=0;i
Selection Sort
The code for the selection sort in C lang is provided below. #include #define NUM 6 void swap(int arr[], int i, int j) { int tmp = arr[i]; arr[i] = arr[j]; arr[j] = tmp; } main() { int arr[NUM],i,j; //Continue reading… Selection Sort
File upload code in Jsp : using apache’s commons-upload.jar
Please follow the below steps before coding the upload script in jsp. 1. Download the commons-upload.jar from Apache’s website. 2. Put that jar file into the classpath, i.e in WEB-INF/lib/ directory. 3. Then create a jsp file with the followingContinue reading… File upload code in Jsp : using apache’s commons-upload.jar
File upload code in Jsp : other methods ….
On the client side, the client’s browser must support form-based upload. Most modern browsers do, but there’s no guarantee. For example, <FORM ENCTYPE=’multipart/form-data’ method=’POST’ action=’/myservlet’> <INPUT TYPE=’file’ NAME=’mptest’> <INPUT TYPE=’submit’ VALUE=’upload’> </FORM> The input type “file” brings up a buttonContinue reading… File upload code in Jsp : other methods ….
Reading and Writing Excel Files with POI
In this article we’ll show you how to read and write Excel files and how to read any Microsoft file’s document properties. Conventions The POI project is nearing a 2.0 release and is in a stage of rapid development, withContinue reading… Reading and Writing Excel Files with POI
When itz come to Programming…!
Start to refer the books …. 1. Knuth‘s all the volumes (three) on programming/Algorithms. 2. Programming Perls 3. How to solve it by Computer by Dromey 4. Algorithms and DataStructures by Alen Wiss (standard datastructures)