Home
FE Comp
SE Comp
TE Comp
BE Comp
Books
Contact us
Showing posts with label
CN (TE-II)
.
Show all posts
Showing posts with label
CN (TE-II)
.
Show all posts
TE Comp Sem-II CN Prac 4 (Ternary search)
#include<stdio.h>
#include<conio.h>
void tsearch(int *a,int i,int j,int k);
main() {
int a[30],n,i,k;
printf("\nEnter n:");
Click here to read the full code
TE Comp Sem-II CN Prac 6 (TCP Client)
/* tcpclient.c */
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
Click here to read the full code
TE Comp Sem-II CN Prac 7 (TCP Server)
/* tcpserver.c */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
Click here to read the full code
TE Comp Sem-II CN Prac 8 (HTML)
<html>
<head>
<title>Auto Expo 2010 </title>
<marquee behaviour="alterante"><img src="title.jpg">
</marquee>
<hr width="100%" color="#ff0000" size="4" />
Click here to read the full code
TE Comp Sem-II CN Prac 9 (Javascript)
function validateForm()
{
var x=document.forms["myForm"]["fname"].value
if (x==null || x=="")
{
alert("First name must be filled out");
return false;
}
Click here to read the full code
TE Comp Sem-II CN Prac 10 (PHP)
<?php
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
Click here to read the full code
TE Comp Sem-II CN Prac 11 (TCP)
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
Click here to read the full code
Older Posts
Home
Subscribe to:
Posts (Atom)