Kontera

Sunday, November 25, 2012

TCP Client Server Implementation in C

 TCPServer.c #include "sys/types.h" #include #include #include #includevoid main(){    int sfd,clisize,cfd,port;  struct sockaddr_in server,client;  char msg1[50]="",msg2[50]="";  sfd = socket(AF_INET,SOCK_STREAM,0);  if(sfd==-1){    printf("\nCannot Create Socket");  }  printf("\nEnter the port address:");  scanf("%d",&port);  server.sin_family = AF_INET;  server.sin_port...

Monday, November 19, 2012

Data Structures Notes

PREFACE CHAPTER 1: INTRODUCTION PART I: Mathematical Foundations CHAPTER 2: GROWTH OF FUNCTIONS CHAPTER 3: SUMMATIONS CHAPTER 4: RECURRENCES CHAPTER 5: SETS, ETC. CHAPTER 6: COUNTING AND PROBABILITY PART II: Sorting and Order Statistics CHAPTER 7: HEAPSORT CHAPTER 8: QUICKSORT CHAPTER 9: SORTING IN LINEAR TIME CHAPTER 10: MEDIANS AND ORDER STATISTICS PART III: Data Structures CHAPTER 11: ELEMENTARY DATA STRUCTURES CHAPTER 12: HASH TABLES CHAPTER...

Saturday, November 17, 2012

Qick Sort Using Java

/* Implementation of QUICK SORT ALGORITHM using JAVADate:         18/11/2012Author :     Sarju S */import java.util.*;import java.io.*;public class QuickSort{    public static void main(String[] args) {        try{        System.out.println("\nEnter the total number of element to sort:");        DataInputStream...

Tries

Normal 0 false false false EN-IN X-NONE X-NONE ...