• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
projectsgeek

ProjectsGeek

Download Mini projects with Source Code, Java projects with Source Codes

  • Home
  • Java Projects
  • C++ Projects
  • VB Projects
  • PHP projects
  • .Net Projects
  • NodeJs Projects
  • Android Projects
    • Project Ideas
      • Final Year Project Ideas
      • JSP Projects
  • Assignment Codes
    • Fundamentals of Programming Language
    • Software Design Laboratory
    • Data Structure and Files Lab
    • Computer Graphics Lab
    • Object Oriented Programming Lab
    • Assembly Codes
  • School Projects
  • Forum

ProjectsGeek

Screen Saver using TSR program in 8086 ALP

September 9, 2011 by ProjectsGeek 4 Comments

Screen Saver using TSR program in 8086 ALP

Write a TSR program in 8086 ALP to implement Screen Saver. Screen Saver should get activated if the keyboard is idle for 7 seconds. Access the video RAM directly in your routine.

Screen Saver using TSR program in 8086 ALP code

CODE SEGMENT
        ASSUME CS:CODE,DS:CODE,ES:CODE
        ORG 100H
START : JMP BEGIN
        TIMER_IP DW ?
        TIMER_CS DW ?
        KB_IP DW ?  
        KB_CS DW ?
        FLAG DB 0
        CNT DB 180
        BUFFER DW 2000 DUP(0)
TIMER:
        PUSH AX
        PUSH BX
        PUSH CX
        PUSH DX
        PUSH SI
        PUSH DI
        PUSH DS
        PUSH ES

        MOV AX,CS
        MOV DS,AX
        MOV ES,AX

        CMP FLAG,00H
        JNE TIMER_END
        DEC CNT
        JNE TIMER_END

        CLD
        MOV AX,0B800H
        MOV DS,AX
        MOV SI,0000H
        MOV DI,OFFSET BUFFER
        MOV CX,2000
        REP MOVSW

        MOV AX,0B800H
        MOV ES,AX
        MOV DI,0000H
        MOV AL,48
        MOV AH,89
        MOV CX,2000
        REP STOSW

        MOV CS:FLAG,01H
TIMER_END:
        POP ES
        POP DS
        POP DI
        POP SI
        POP DX
        POP CX
        POP BX
        POP AX
JMP DWORD PTR CS:TIMER_IP

KB:
        PUSH AX
        PUSH BX
        PUSH CX
        PUSH DX
        PUSH SI
        PUSH DI
        PUSH DS
        PUSH ES

        MOV AX,CS
        MOV DS,AX
        MOV ES,AX

        MOV CNT,180
        CMP FLAG,01
        JNE KB_END

        CLD
        MOV AX,0B800H
        MOV ES,AX
        MOV SI,OFFSET BUFFER
        MOV DI,0000H
        MOV CX,2000
        REP MOVSW

        MOV FLAG,00H
KB_END :
        POP ES
        POP DS
        POP DI
        POP SI
        POP DX
        POP CX
        POP BX
        POP AX
JMP DWORD PTR CS:KB_IP

BEGIN:
        MOV AX,CS
        MOV DS,AX
        MOV ES,AX

        MOV AH,35H
        MOV AL,08H
        INT 21H

        MOV TIMER_IP,BX
        MOV TIMER_CS,ES

        MOV AH,35H
        MOV AL,09H
        INT 21H

        MOV KB_IP,BX
        MOV KB_CS,ES

        MOV AH,25H
        MOV AL,08H
        MOV DX,OFFSET TIMER
        INT 21H

        MOV AH,25H
        MOV AL,09H
        MOV DX,OFFSET KB
        INT 21H

        MOV AH,31H
        MOV DX,OFFSET BEGIN
        MOV CL,04H
        SHR DX,CL
        INC DX
        INT 21H

CODE ENDS
END START

 

Other Projects to Try:

  1. BCD to 7 Segment Code Conversion
  2. Transfer Block of N Bytes from Source to Destination
  3. GCD of Two Numbers program in Assembly Language
  4. Add 8 Bit BCD Numbers
  5. Program for Simulating AAA Instruction

Filed Under: Assembly Codes Tagged With: Assembly Codes

Socket programming in Java

September 9, 2011 by ProjectsGeek Leave a Comment

Socket programming in Java
Client Code

import java.io.*;
import java.net.*;
class Client_1
{
    public static void main (String[] args)
    {
        int port =6543;
        String add=”localhost”;
        try
        {
            InetAddress ia=InetAddress.getByName(add);
            Socket socket =new Socket(add,port);
            InputStream input=socket.getInputStream();
            OutputStream output=socket.getOutputStream();
            DataInputStream in=new DataInputStream(input);
            DataOutputStream out=new DataOutputStream(output);
            BufferedReader enter=new BufferedReader(new InputStreamReader(System.in));
            String line=null;
            while(true)
            {
                System.out.print(“Message to server : “);
                line=enter.readLine();
                out.writeUTF(line);
                out.flush();
                line=in.readUTF();
                System.out.println(“Message from server : ” + line);
            }
        }
        catch (Exception ex)
        {
        }
    }
}
 Server Code
import java.net.*;
import java.io.*;
class ser2 im
{

}
class Server_1
{
    public static void main (String[] args)
    {
        int port = 6543;
        try
        {
            ServerSocket ss = new ServerSocket(port);
            System.out.println(“Waiting for client:: “);
            Socket socket=ss.accept();
            System.out.println(“Client found… “);
            InputStream input=socket.getInputStream();
            OutputStream output=socket.getOutputStream();
            DataInputStream in=new DataInputStream(input);
            DataOutputStream out=new DataOutputStream(output);
            BufferedReader enter=new BufferedReader(new InputStreamReader(System.in));
            String line=null;
            while(true)
            {
                line=in.readUTF();
                System.out.println(“Message From Client::  “+line);
                System.out.print(“Message to Client : “);
                line=enter.readLine();
                out.writeUTF(line);
                out.flush();
            }
        }
        catch (Exception ex)
        {
            ex.printStackTrace();
        }
    }
}   

Other Projects to Try:

  1. To Perform File Handling in Java
  2. Implement Conflation Algorithm using File Handling in Java
  3. Exception Handling In java
  4. Implement using Socket Programming (TCP/UDP) in Java
  5. Java Programming from program analysis to program Design By -DS Malik

Filed Under: Java Assignments

Bitwise Operations using C++

September 7, 2011 by ProjectsGeek Leave a Comment

Bit-wise Operations using C++
#include
#include
#include void dectobi(int p)
{
int b,i,x,d;
for(i=31;i>=0;i--)
{
d=1<<i;
b=p&d;
if(b==0)
printf("0");
else
printf("1");
}
} 

void main()
{

int i,j,k,ch,n,m,a;
char cho;
clrscr();
do
{
printf("enter a integer\n");
scanf("%d",&n);
dectobi(n);
printf("\n 1 for 1`s compliment");
printf("\n 2 for AND opertion");
printf("\n 3 for OR opertion");
printf("\n 4 for EX-OR opertion");
printf("\n 5 for LEFT SHIFT opertion");
printf("\n 6 for RIGHT SHIFT opertion");
printf("\n 7 for EXIT\n");
scanf("%d",&ch);
switch(ch)
{
case 1:
printf(" \n1`s compliment\n");
a=~n;
dectobi(a);
break;
case 2:
printf("enter intger\n");
scanf("%d",&m);
dectobi(m);
printf("after and\n");
a=n&m;
dectobi(a);
break;
case 3:
printf("enter intger\n");
scanf("%d",&m);
dectobi(m);
printf("after OR\n");
a=n|m;
dectobi(a);
break;
case 4:
printf("enter intger\n");
scanf("%d",&m);
dectobi(m);
printf("after EX-OR\n");
a=n^m ;
dectobi(a);
break;
case 5:
printf("enter the no by u want to LEFT SHIFT");
scanf("%d",&m);
a=n<<m;
printf("after LEFT SHIFT\n");
a=n<<1;
        dectobi(a);
break;
case 6:
printf("enter the no by u want to RIGHT SHIFT");
scanf("%d",&m);
a=n>>m;
printf("after RIGHT SHIFT\n");
dectobi(a);
break;
case 7:
exit(0);
}
flushall();
printf("\nwant to continue (y/n)");
scanf("%c",&cho);
}
while(cho!='n');

}

Other Projects to Try:

  1. Operations on matrices like addition, multiplication, saddle point, magic square ,inverse & transpose
  2. Matrix Operations in C Language
  3. Set operations – Union, Intersection, Difference, Symmetric Difference using C
  4. How to Implement Hash Table using C language
  5. Sparse Matrix Operations Code using C Langauge

Filed Under: Computer Graphics Tagged With: Computer Graphics

Friend Function Implementation using C++

September 7, 2011 by ProjectsGeek Leave a Comment

Friend Function Implementation using C++
#include
#include #include
#include
#include
int i=0;
int idno;
class student
{
public:
friend void issue ();
friend void  ret ();
};
class lib
{
char name[10];
int roll; 

public:

int status;
lib();
void idinfor();
friend void issue ();
friend void  ret ();
};
lib::lib()
{
status=0;
}
void lib::idinfor()
{
i++;
cout<<“\n\n\t\t ENTER UR NAME…”;
gets(name);
cout<<“\n\n\t\t ENTER UR ROLL NO…”;
cin>>roll;
cout<<“\n\n\t\t UR ID NUMBER IS….”<<i+1998;< p=””>

}
void issue(int status)
{

int bn;
cout<<“\n\n\t\t LIST OF AVAILABLE BOOKS FOR U”;
cout<<“\n\n\t\t PRESS 1 BALA\n\t\t PRESS 2 VENU\n\t\t PRESS 3 OOPS\n\t\t PRESS 4 MAT”;
cout<<“\n\n\t\t ENTER UR CHOICE”;
cin>>bn;

if(status<3)
    {
cout<<“\n\n\t\t BOOK IS AVAILABLE FOR U”;
}
else
{
cout<<“\n\n\t\t BOOK IS NOT AVAILABLE FOR U”;
cout<<“\n\n\t\t U CANT ISSUE MORE THAN TWO BOOKS”;
}
}
void ret()
{
cout<<“\n\n\t\t THANK YOU”;
}
void main()
{
lib l[10];
int ch;
clrscr();
do
{
cout<<“\n\t\t PRESS 1 FOR UR ID NUMBER INFORMATION”;
cout<<“\n\t\t PRESS 2 FOR ISSUE A NEW BOOK “;
cout<<“\n\t\t PREES 3 FOR RETURN A BOOK “;
cout<<“\n\t\t PRESS 4 FOR EXIT”;
cout<<“\n\t\t ENTER UR CHOICE…”;
cin>>ch;
switch(ch)
{
case 1:
clrscr();
l[i].idinfor();
break;
case 2:
clrscr();
cout<<“\n\n\t\tENTER UR ID NO…”;
cin>>idno;
issue(l[i].status);
l[i].status++;
break;
case 3:
clrscr();
cout<<“\n\n\t\tENTER UR ID NO…”;
cin>>idno;
ret();
l[i].status–;
break;
case 4:
exit(0);
break;
}
}while(ch!=4);
}

Other Projects to Try:

  1. Matrix Operations in C Language
  2. Weather report program in c++ using constructor
  3. Operator Overloading on String Functions C++ Language
  4. Student Database in C Language
  5. How to Implement Hash Table using C language

Filed Under: Computer Graphics Tagged With: Computer Graphics

Cricket Database project using C++

September 5, 2011 by ProjectsGeek Leave a Comment

Cricket Database project using C++

 
 
Cricket Database project using C++ is advanced level project which makes use of object oriented concepts for implementing this cricket database project. It shows all kinds of stats from the game such as country, matches, bowling,innings, runs, ball played, fifties, hundreds, wickets, best batting performances, best bowling performances. You can input data for last match using menu provided in this application, after that program will guide user to provide other input data.
 

Cricket Database project Source Code

 
#include
#include
#include
#include
#include
#include #include
#include
#include
/*------------------base class------------------------------*/
class player
{
float strate,btavg,blavg;
int runs,wic,hiscr,bbol,overs,balls,innings,r1,w1,o1,b1,hcen,cen,i1;
public:
int mat;
char name[10];
char country[10];
player();
void getdata();
void update();
void showdata();
void calculation();
void search();
void modify();
void updatetest();
void menu();
};
/*----------------------constructor------------------------------*/
player::player()
{
strcpy(name," ");
strcpy(country," ");
strate=0;
btavg=0;
innings=0;
balls=0;
overs=0;
blavg=0;
runs=0;
wic=0;
mat=0;
hiscr=0;
bbol=0;
cen=0;
hcen=0;
}
/* -----------------------------fun for calculation -----------*/
void player::calculation()
{
strate=(float)(runs/balls)*100;
btavg=(float)runs/innings;
blavg=(float)overs/wic;
}
/*---------------------- scan data from user -----------------*/
void player::getdata()
{
cleardevice();
settextstyle(1,0,1);
outtextxy(100,50," ENTER DATA ");
settextstyle(0,0,1); 

 

//cout<<"\n\t\t ENTER INFORMATION: \n\n";
cout<<"\n\n\n\t\t Name: ";
gets(name);
cout<<"\n\t\t Country: ";
gets(country);
cout<<"\n\t\t Matches: ";
cin>>mat;
cout<<"\n\t\t Innings: ";
cin>>innings;
cout<<"\n\t\t Runs: ";
cin>>runs;
cout<<"\n\t\t Balls Played: ";
cin>>balls;
cout<<"\n\t\t Fifties: ";
cin>>hcen;
cout<<"\n\t\t Hundreds: ";
cin>>cen;
cout<<"\n\t\t Overs Bowled: ";
cin>>overs;
cout<<"\n\t\t Wickets: ";
cin>>wic;
cout<<"\n\t\t Best Batting Performance: ";
cin>>hiscr;
cout<<"\n\t\t Best Bowling Performance: ";
cin>>bbol;

}
/*-------------- fun used for modification -----------------*/
void player::update()
{
//cout<<"\n\n\t\t ENTER DATA OF LAST MATCH\n";
cleardevice();
settextstyle(1,0,1);
outtextxy(100,50," ENTER DATA OF LAST MATCH");
settextstyle(0,0,1);
cout<<"\n\n\n\t\t Runs: ";
cin>>r1;
if(r1>100)
cen++;
if(r1>50&&r1<100)
        hcen++;
runs+=r1;
cout<<"\n\t\t Wickets: ";
cin>>w1;
wic+=w1;
mat++;
cout<<"\n\t\t OUT/NOTOUT(y/n): ";
char ch=getche();
if(ch=='y')
innings++;
cout<<"\n\t\t Overs Bowled :";
cin>>o1;
overs+=o1;
cout<<"\n\t\t Balls Played";
cin>>b1;
balls+=b1;
if(hiscr<r1)
hiscr=r1;
if(bbol<w1)
bbol=w1;
}
/*--------------------- fun for displaying the data --------------*/
void player::showdata()
{
int x=50;
char str[20];
cleardevice();
rectangle(50,150,610,250);
line(50,200,610,200);
for(int i=0;i<6;i++)
    {
x+=80;
line(x,150,x,250);
}
outtextxy( 60,170,"MATCHS");
outtextxy(140,170,"RUNS");
outtextxy(220,170,"WICKETS");
outtextxy(300,170,"AVG(BAT)");
outtextxy(380,170,"AVG(BOL)");
outtextxy(460,170,"100`s");
outtextxy(540,170,"50`s");
outtextxy( 50,280,"BEST PERFORMANCE IN A MATCH ::");
outtextxy( 50,300,"RUNS : ");
outtextxy( 50,320,"WICKETS :");
sprintf(str,"%d",mat);
outtextxy(60,220,str);
sprintf(str,"%d",runs);
outtextxy(140,220,str);
sprintf(str,"%d",wic);
outtextxy(220,220,str);
sprintf(str,"%f",btavg);
outtextxy(300,220,str);
sprintf(str,"%f",blavg);
outtextxy(380,220,str);
sprintf(str,"%d",cen);
outtextxy(460,220,str);
sprintf(str,"%d",hcen);
outtextxy(540,220,str);
settextstyle(1,0,1);
sprintf(str,"%s",country);
outtextxy(50,110,str);
sprintf(str,"%s",name);
outtextxy(50,90,str);
settextstyle(0,0,1);
sprintf(str,"%d",hiscr);
outtextxy(130,300,str);
sprintf(str,"%d",bbol);
outtextxy(130,320,str);
getch();
}
fstream file,file1,tfile,tfile1;
int ch1;
/*----------------------------- main -------------*/
void main()
{
player p;
clrscr();
int ch,i=0,gm,gd=DETECT;
char st[10];
int x,y;
x=100;
y=100;

initgraph(&gd,&gm,"g:\\tc\\bgi");
char pname[10],cname[10],password[10]="",c;
setbkcolor(BLUE);
while(!kbhit())
{

settextstyle(1,0,6);
outtextxy(150,200,"CRICKETER`S");
outtextxy(170,270,"DATABASE");
}
settextstyle(0,0,1);
cleardevice();
setcolor(11);
settextstyle(1,0,1);
outtextxy(100,380,"LOADING...");

for(i=0;i<401;i++)
    {
outtextxy(100+i,400,"#");
if(i<400&&i>370)
delay(40);
delay(10);
}
settextstyle(0,0,1);
cleardevice();
getch();
//cleardevice();
/*------------------ starting menu -------*/
int tag;
tag:
cleardevice();
settextstyle(1,0,2);
outtextxy(200,100," 1 :: ONE DAY") ;
outtextxy(200,130,"     2 :: TEST") ;
//cin>>ch1;

ch1=getche();
ch1=ch1-'0';
settextstyle(0,0,1);
if(ch1==1)
{
do
{
cleardevice();
//p.menu();
settextstyle(1,0,2);
outtextxy(200,100," 1 :: ADD RECORDS ") ;
outtextxy(200,130," 2 :: MODIFY RECORDS ") ;
outtextxy(200,160," 3 :: SEARCH RECORD (NAME)") ;
outtextxy(200,190," 4 :: SEARCH RECORD (COUNTRY)") ;
outtextxy(200,220," 5 :: LIST OF PLAYER OF ONE COUNTRY") ;
outtextxy(200,250," 6 :: BACK") ;
outtextxy(200,280," 7 :: EXIT") ;
//cin>>ch;
ch=getche();
ch=ch-'0';

settextstyle(0,0,1);

switch(ch)
{
/*----- ODI insert --------------*/
case 1:

cleardevice();
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::end);
p.getdata();
p.calculation();
file.write((char*)&p,sizeof(p));
file.clear();
file.close();
c=getch();
break;
/*------- ODI name wise search -----------*/

case 3:

cleardevice();
cout<<"\n\t\t Name For Search: ";
gets(pname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
//if(i>250&&i<300)
                      //    delay(40);

delay(10);
}
cleardevice();
int flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.name,pname))
{
flag=1;
cout<<"\n\n";
p.showdata();
break;
}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;

/*--------------  ODI modification --------------*/
case 2:

cleardevice();
cout<<"\n\t\tENTER PASSWORD  ";
int i=0;
while(i<6)
                {
password[i]=getche();
cout<<"*";
i++;
}
getch();
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();

if(!strcmp("vineet",password))
{
cout<<"\n\t\t Name For Modification ";
gets(pname);
flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file1.open("temp1.txt",ios::in|ios::out|ios::ate);
if(!tfile1)
cout<<"\nerror";
file1.seekp(0,ios::beg);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{

if(!strcmp(p.name,pname))
{
flag=1;
p.update();
p.calculation();
file1.write((char*)&p,sizeof(p));
}
else
{
tfile1.write((char*)&p,sizeof(p));
}
}
file.clear();
file.close();
file1.clear();
file1.close();
if(flag==1)
{
remove("ODI.txt");
rename("temp1.txt","ODI.txt");

}
if(flag==0)
cout<<"\n\t\t Record Not Found";
}
else
cout<<"\n\t\t Wrong Password";
c=getch();
break;

/*------------ ODI country wise search ------*/
case 4:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
//if(i>333&&i<400)
                      //    delay(40);
}
cleardevice();
flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
cout<<"\n\n";
p.showdata();
}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;
/*------ ODI list of players -----------*/
case 5:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
}
cleardevice();
flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
settextstyle(1,0,1);
//cout<<"\n\n\t\t"< <p.name;

sprintf(st,"%s",p.name);
outtextxy(x,y,st);
y=y+30;
settextstyle(0,0,1);
}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found"; 

//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;
case 6:
goto tag;
//break;

case 7:
exit(0);
break;
}
}while(1);
}
if(ch1==2)
{
do
{
cleardevice();
//p.menu();
settextstyle(1,0,2);
outtextxy(200,100," 1 :: ADD RECORDS ") ;
outtextxy(200,130," 2 :: MODIFY RECORDS ") ;
outtextxy(200,160," 3 :: SEARCH RECORD (NAME)") ;
outtextxy(200,190," 4 :: SEARCH RECORD (COUNTRY)") ;
outtextxy(200,220," 5 :: LIST OF PLAYER OF ONE COUNTRY") ;
outtextxy(200,250," 6 :: BACK") ;
outtextxy(200,280," 7 :: EXIT") ;
//cin>>ch;
ch=getche();
ch=ch-'0';

settextstyle(0,0,1);

switch(ch)
{
/*------------------ TEST insert ------------------*/
case 1:
cleardevice();
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::end);
p.getdata();
p.calculation();
tfile.write((char*)&p,sizeof(p));
tfile.clear();
tfile.close();
break;
/*------------------ TEST name wise search ------------------*/
case 3:
cleardevice();
cout<<"\n\t\t Name For Search: ";
gets(pname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();
int flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.name,pname))
{
flag=1;
cout<<"\n\n";
p.showdata();
break;
}
}
tfile.clear();
tfile.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
c=getch();
break;
/*------------------ TEST modification ------------------*/
case 2:
cleardevice();
cout<<"\n\t\tENTER PASSWORD";
int i=0;
while(i<6)
                {
password[i]=getche();
cout<<"*";
i++;
}
getch();
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();

if(!strcmp("vineet",password))
{
cout<<"\n\t\t Name For Modification ";
gets(pname);
flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile1.open("temp1.txt",ios::in|ios::out|ios::ate);
if(!tfile1)
cout<<"\nerror";
tfile1.seekp(0,ios::beg);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{

if(!strcmp(p.name,pname))
{
flag=1;
cout<<"\n\t\t Enter Data For First Inning: ";
p.update();
cout<<"\n\t\t Enter Data For Second Inning: ";
p.update();
p.mat--;
p.calculation();
tfile1.write((char*)&p,sizeof(p));
}
else
{
tfile1.write((char*)&p,sizeof(p));
}
}
tfile.clear();
tfile.close();
tfile1.clear();
tfile1.close();
if(flag==1)
{
remove("TEST.txt");
rename("temp1.txt","TEST.txt");

}
if(flag==0)
cout<<"\n\t\t Record Not Found";
}
else
cout<<"\n\t\t Wrong Password";
c=getch();
break;
/*------------------ TEST country wise search ------------------*/
case 4:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();
flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
cout<<"\n\n";
p.showdata();
}
}
tfile.clear();
tfile.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
break;
/*------------------ TEST list ------------------*/
case 5:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();
flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
settextstyle(1,0,1);
//cout<<"\n\n\t\t"< <p.name;

sprintf(st,"%s",p.name);
outtextxy(x,y,st);
y=y+30;
settextstyle(0,0,1);
//cout<<"\n\n\t\t"< <p.name;
 

}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
//char c;
//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;
case 6:
goto tag;
case 7:
exit(0);
break;
}
}while(1);
}
}
/* ------------------------------end of main -----------------*/ 

#include
#include
#include
#include
#include
#include #include
#include
#include
/*------------------base class--------------------------------*/
class player
{
float strate,btavg,blavg;
int runs,wic,hiscr,bbol,overs,balls,innings,r1,w1,o1,b1,hcen,cen,i1;
public:
int mat;
char name[10];
char country[10];
player();
void getdata();
void update();
void showdata();
void calculation();
void search();
void modify();
void updatetest();
void menu();
};
/*----------------------constructor-------------------------------------*/
player::player()
{
strcpy(name," ");
strcpy(country," ");
strate=0;
btavg=0;
innings=0;
balls=0;
overs=0;
blavg=0;
runs=0;
wic=0;
mat=0;
hiscr=0;
bbol=0;
cen=0;
hcen=0;
}
/* -----------------------------fun for calculation ----------------------*/
void player::calculation()
{
strate=(float)(runs/balls)*100;
btavg=(float)runs/innings;
blavg=(float)overs/wic;
}
/*---------------------- scan data from user -------------------------*/
void player::getdata()
{
cleardevice();
settextstyle(1,0,1);
outtextxy(100,50," ENTER DATA ");
settextstyle(0,0,1);

//cout<<"\n\t\t ENTER INFORMATION: \n\n";
cout<<"\n\n\n\t\t Name: ";
gets(name);
cout<<"\n\t\t Country: ";
gets(country);
cout<<"\n\t\t Matches: ";
cin>>mat;
cout<<"\n\t\t Innings: ";
cin>>innings;
cout<<"\n\t\t Runs: ";
cin>>runs;
cout<<"\n\t\t Balls Played: ";
cin>>balls;
cout<<"\n\t\t Fifties: ";
cin>>hcen;
cout<<"\n\t\t Hundreds: ";
cin>>cen;
cout<<"\n\t\t Overs Bowled: ";
cin>>overs;
cout<<"\n\t\t Wickets: ";
cin>>wic;
cout<<"\n\t\t Best Batting Performance: ";
cin>>hiscr;
cout<<"\n\t\t Best Bowling Performance: ";
cin>>bbol;

}
/*------------------------------ fun used for modification -----------------*/
void player::update()
{
//cout<<"\n\n\t\t ENTER DATA OF LAST MATCH\n";
cleardevice();
settextstyle(1,0,1);
outtextxy(100,50," ENTER DATA OF LAST MATCH");
settextstyle(0,0,1);
cout<<"\n\n\n\t\t Runs: ";
cin>>r1;
if(r1>100)
cen++;
if(r1>50&&r1<100)
        hcen++;
runs+=r1;
cout<<"\n\t\t Wickets: ";
cin>>w1;
wic+=w1;
mat++;
cout<<"\n\t\t OUT/NOTOUT(y/n): ";
char ch=getche();
if(ch=='y')
innings++;
cout<<"\n\t\t Overs Bowled :";
cin>>o1;
overs+=o1;
cout<<"\n\t\t Balls Played";
cin>>b1;
balls+=b1;
if(hiscr<r1)
hiscr=r1;
if(bbol<w1)
bbol=w1;
}
/*------------------------------------- fun for displaying the data -------------*/
void player::showdata()
{
int x=50;
char str[20];
cleardevice();
rectangle(50,150,610,250);
line(50,200,610,200);
for(int i=0;i<6;i++)
    {
x+=80;
line(x,150,x,250);
}
outtextxy( 60,170,"MATCHS");
outtextxy(140,170,"RUNS");
outtextxy(220,170,"WICKETS");
outtextxy(300,170,"AVG(BAT)");
outtextxy(380,170,"AVG(BOL)");
outtextxy(460,170,"100`s");
outtextxy(540,170,"50`s");
outtextxy( 50,280,"BEST PERFORMANCE IN A MATCH ::");
outtextxy( 50,300,"RUNS : ");
outtextxy( 50,320,"WICKETS :");
sprintf(str,"%d",mat);
outtextxy(60,220,str);
sprintf(str,"%d",runs);
outtextxy(140,220,str);
sprintf(str,"%d",wic);
outtextxy(220,220,str);
sprintf(str,"%f",btavg);
outtextxy(300,220,str);
sprintf(str,"%f",blavg);
outtextxy(380,220,str);
sprintf(str,"%d",cen);
outtextxy(460,220,str);
sprintf(str,"%d",hcen);
outtextxy(540,220,str);
settextstyle(1,0,1);
sprintf(str,"%s",country);
outtextxy(50,110,str);
sprintf(str,"%s",name);
outtextxy(50,90,str);
settextstyle(0,0,1);
sprintf(str,"%d",hiscr);
outtextxy(130,300,str);
sprintf(str,"%d",bbol);
outtextxy(130,320,str);
getch();
}
fstream file,file1,tfile,tfile1;
int ch1;
/*----------------------------- main ---------------------*/
void main()
{
player p;
clrscr();
int ch,i=0,gm,gd=DETECT;
char st[10];
int x,y;
x=100;
y=100;

initgraph(&gd,&gm,"g:\\tc\\bgi");
char pname[10],cname[10],password[10]="",c;
setbkcolor(BLUE);
while(!kbhit())
{

settextstyle(1,0,6);
outtextxy(150,200,"CRICKETER`S");
outtextxy(170,270,"DATABASE");
}
settextstyle(0,0,1);
cleardevice();
setcolor(11);
settextstyle(1,0,1);
outtextxy(100,380,"LOADING...");

for(i=0;i<401;i++)
    {
outtextxy(100+i,400,"#");
if(i<400&&i>370)
delay(40);
delay(10);
}
settextstyle(0,0,1);
cleardevice();
getch();
//cleardevice();
/*------------------ starting menu -------*/
int tag;
tag:
cleardevice();
settextstyle(1,0,2);
outtextxy(200,100," 1 :: ONE DAY") ;
outtextxy(200,130,"     2 :: TEST") ;
//cin>>ch1;

ch1=getche();
ch1=ch1-'0';
settextstyle(0,0,1);
if(ch1==1)
{
do
{
cleardevice();
//p.menu();
settextstyle(1,0,2);
outtextxy(200,100," 1 :: ADD RECORDS ") ;
outtextxy(200,130," 2 :: MODIFY RECORDS ") ;
outtextxy(200,160," 3 :: SEARCH RECORD (NAME)") ;
outtextxy(200,190," 4 :: SEARCH RECORD (COUNTRY)") ;
outtextxy(200,220," 5 :: LIST OF PLAYER OF ONE COUNTRY") ;
outtextxy(200,250," 6 :: BACK") ;
outtextxy(200,280," 7 :: EXIT") ;
//cin>>ch;
ch=getche();
ch=ch-'0';

settextstyle(0,0,1);

switch(ch)
{
/*----- ODI insert ----------*/
case 1:

cleardevice();
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::end);
p.getdata();
p.calculation();
file.write((char*)&p,sizeof(p));
file.clear();
file.close();
c=getch();
break;
/*------- ODI name wise search -------------*/

case 3:

cleardevice();
cout<<"\n\t\t Name For Search: ";
gets(pname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
//if(i>250&&i<300)
                      //    delay(40);

delay(10);
}
cleardevice();
int flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.name,pname))
{
flag=1;
cout<<"\n\n";
p.showdata();
break;
}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;

/*--------------  ODI modification --------------*/
case 2:

cleardevice();
cout<<"\n\t\tENTER PASSWORD  ";
int i=0;
while(i<6)
                {
password[i]=getche();
cout<<"*";
i++;
}
getch();
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();

if(!strcmp("vineet",password))
{
cout<<"\n\t\t Name For Modification ";
gets(pname);
flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file1.open("temp1.txt",ios::in|ios::out|ios::ate);
if(!tfile1)
cout<<"\nerror";
file1.seekp(0,ios::beg);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{

if(!strcmp(p.name,pname))
{
flag=1;
p.update();
p.calculation();
file1.write((char*)&p,sizeof(p));
}
else
{
tfile1.write((char*)&p,sizeof(p));
}
}
file.clear();
file.close();
file1.clear();
file1.close();
if(flag==1)
{
remove("ODI.txt");
rename("temp1.txt","ODI.txt");

}
if(flag==0)
cout<<"\n\t\t Record Not Found";
}
else
cout<<"\n\t\t Wrong Password";
c=getch();
break;

/*------------ ODI country wise search --------------*/
case 4:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
//if(i>333&&i<400)
                      //    delay(40);
}
cleardevice();
flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
cout<<"\n\n";
p.showdata();
}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;
/*------ ODI list of players ------------*/
case 5:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
}
cleardevice();
flag=0;
file.open("ODI.txt",ios::in|ios::out|ios::ate);
file.seekp(0,ios::beg);
while(file.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
settextstyle(1,0,1);
//cout<<"\n\n\t\t"< <p.name;

sprintf(st,"%s",p.name);
outtextxy(x,y,st);
y=y+30;
settextstyle(0,0,1);
}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found"; 

//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;
case 6:
goto tag;
//break;

case 7:
exit(0);
break;
}
}while(1);
}
if(ch1==2)
{
do
{
cleardevice();
//p.menu();
settextstyle(1,0,2);
outtextxy(200,100," 1 :: ADD RECORDS ") ;
outtextxy(200,130," 2 :: MODIFY RECORDS ") ;
outtextxy(200,160," 3 :: SEARCH RECORD (NAME)") ;
outtextxy(200,190," 4 :: SEARCH RECORD (COUNTRY)") ;
outtextxy(200,220," 5 :: LIST OF PLAYER OF ONE COUNTRY") ;
outtextxy(200,250," 6 :: BACK") ;
outtextxy(200,280," 7 :: EXIT") ;
//cin>>ch;
ch=getche();
ch=ch-'0';

settextstyle(0,0,1);

switch(ch)
{
/*------------------ TEST insert ------------------*/
case 1:
cleardevice();
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::end);
p.getdata();
p.calculation();
tfile.write((char*)&p,sizeof(p));
tfile.clear();
tfile.close();
break;
/*------------------ TEST name wise search ------------------*/
case 3:
cleardevice();
cout<<"\n\t\t Name For Search: ";
gets(pname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();
int flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.name,pname))
{
flag=1;
cout<<"\n\n";
p.showdata();
break;
}
}
tfile.clear();
tfile.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
c=getch();
break;
/*------------------ TEST modification ------------*/
case 2:
cleardevice();
cout<<"\n\t\tENTER PASSWORD";
int i=0;
while(i<6)
                {
password[i]=getche();
cout<<"*";
i++;
}
getch();
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();

if(!strcmp("vineet",password))
{
cout<<"\n\t\t Name For Modification ";
gets(pname);
flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile1.open("temp1.txt",ios::in|ios::out|ios::ate);
if(!tfile1)
cout<<"\nerror";
tfile1.seekp(0,ios::beg);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{

if(!strcmp(p.name,pname))
{
flag=1;
cout<<"\n\t\t Enter Data For First Inning: ";
p.update();
cout<<"\n\t\t Enter Data For Second Inning: ";
p.update();
p.mat--;
p.calculation();
tfile1.write((char*)&p,sizeof(p));
}
else
{
tfile1.write((char*)&p,sizeof(p));
}
}
tfile.clear();
tfile.close();
tfile1.clear();
tfile1.close();
if(flag==1)
{
remove("TEST.txt");
rename("temp1.txt","TEST.txt");

}
if(flag==0)
cout<<"\n\t\t Record Not Found";
}
else
cout<<"\n\t\t Wrong Password";
c=getch();
break;
/*------------------ TEST country wise search -------*/
case 4:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();
flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
cout<<"\n\n";
p.showdata();
}
}
tfile.clear();
tfile.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
break;
/*------------------ TEST list --------*/
case 5:
cleardevice();
cout<<"\n\t\t Country`s Name For Search: ";
gets(cname);
cleardevice();
setcolor(10);
outtextxy(100,380,"LOADING...");
for(i=0;i<401;i++)
                {
outtextxy(100+i,400,"#");
delay(10);
if(i>350&&i<400)
                        delay(40);
}
cleardevice();
flag=0;
tfile.open("TEST.txt",ios::in|ios::out|ios::ate);
tfile.seekp(0,ios::beg);
while(tfile.read((char*)&p,sizeof(p)))
{
if(!strcmp(p.country,cname))
{
flag=1;
settextstyle(1,0,1);
//cout<<"\n\n\t\t"< <p.name;

sprintf(st,"%s",p.name);
outtextxy(x,y,st);
y=y+30;
settextstyle(0,0,1);
//cout<<"\n\n\t\t"< <p.name;
 

}
}
file.clear();
file.close();
if(flag==0)
cout<<"\n\t\t Record Not Found";
//char c;
//cout<<"\n\n\t\t Enter Any Key To Cont.";
//cin>>c;
c=getch();
break;
case 6:
goto tag;
case 7:
exit(0);
break;
}
}while(1);
}
}
/* ------------------------------end of main ----------*/ 

Other Projects to Try:

  1. string operations such as Copy, Length, Reversing, Palindrome, Concatenation
  2. Graphics Editor code Using C++ Language
  3. Cricket Database Project
  4. Student Database using Virtual functions in C++
  5. Student Database in C Language

Filed Under: Computer Graphics Tagged With: Computer Graphics

Water Jug Problem Artificial Intelligence

September 3, 2011 by ProjectsGeek 6 Comments

Water Jug Problem Artificial Intelligence 


/* Water Jug Problem
This problem is basically asking you to perform a Breadth First Search on
a directed graph. The nodes in the graph corresponds to a “state”, and
a state is basically a pair (n, m) where n and m are the volume of water
in the jugs. There’s an edge from (n, m) to (n1, m1) if a valid operation
exists such that the result of the operation is (n1, m1).
The implementation for BFS is done by using queue. Also, a state (n, m)
is translated into an integer i for convenience.
*/
Code For  Water Jug Problem


#include
#include
#include
class Queue
{
            public:
                        Queue()
                        : head(NULL), tail(NULL)
                        {
                        }
                        void enqueue(int i)
                        {
                                    if (head == NULL)
                                                head = tail = new Node(i, NULL);
                                    else
                                                tail = tail->next = new Node(i, NULL);
                        }
                        int dequeue()
                        {
                                    Node* old = head;
                                    head = head->next;
                                    int i = old->i;
                                    delete old;
                                    return i;
                        }
                        int isEmpty()
                        {
                                    return (head == NULL);
                        }
                        ~Queue()
                        {
                                    while (!isEmpty())
                                    dequeue();
                        }
            private:
                        struct Node
                        {
                                    int i;
                                    Node* next;
                                    Node(int iP, Node* nextP)
                                    : i(iP), next(nextP)
                                    {
                                    }
                        } *head, *tail;
} iQueue;
const int MAX = 100;
const int MAX_I = (MAX + 1) * (MAX + 1);
int N, M, k, n, m;
int distance[MAX_I];
int prev[MAX_I];
int nmToI(int n, int m)
{
            return n * (M + 1) + m;
}
int iToN(int i)
{
            return i / (M + 1);
}
int iToM(int i)
{
            return i % (M + 1);
}
void trace(int i)
{
            if (i > 0)
                        trace(prev[i]);
            cout <<"    "<
}
void test(int n, int m, int n1, int m1)
{
            if (n1 < 0 || n1 > N || m1 < 0 || m1 > M)
                        return;
            int i1 = nmToI(n1, m1);
            if (distance[i1] != 0)
                        return;
            int i = nmToI(n, m);
            distance[i1] = distance[i] + 1;
            prev[i1] = i;
            iQueue.enqueue(i1);
}
int solve()
{
            n = m = 0;
            distance[0] = 1;
            iQueue.enqueue(0);
            while (!iQueue.isEmpty())
            {
                        int i = iQueue.dequeue();
                        int n = iToN(i);
                        int m = iToM(i);
                        if (n == k || m == k || n + m == k)
                        return i;
            // empty out a jug
                        test(n, m, 0, m);
                        test(n, m, n, 0);
            // fill a jug
                        test(n, m, N, m);
                        test(n, m, n, M);
            // pour one to another until source is empty
                        test(n, m, 0, n + m);
                        test(n, m, n + m, 0);
            // pour one to another until destination is full
                        test(n, m, n – M + m, M);
                        test(n, m, N, m – N + n);
            }
            return -1;
}
void main()
{
            clrscr();
            cout<<"Please enter the number of gallons in first jug:  ";
            cin>>N;
            cout<<"Please enter the number of gallons in second jug:  ";
            cin>>M;
            cout<<"Please enter the vol. of water to be left finally: ";
            cin>>k;
            int i = solve();
            cout<<"  JUG 1  "<<"  JUG 2 \n";
            cout<<"----------------\n";
            if (i == -1)
                        cout << 0 << "\n";
            else
            {
                        cout << distance[i] << "\n";
                        trace(i);
            }
            cout << -1 << "\n";
            getch();
}
OUTPUT
Please enter the number of gallons in first jug:  5
Please enter the number of gallons in second jug:  3
Please enter the vol. of water to be left finally: 4
  JUG 1    JUG 2
   —————-
7
    0     |   0
    5     |   0
    2     |   3
    2     |   0
    0     |   2
    5     |   2
    4     |   3
-1

Other Projects to Try:

  1. BFS AND DFS Algorithm using C Language
  2. Regular Expression to DFA Code in C Language
  3. Breadth First and Depth First Search C Language
  4. Hoffmans algorithm in C Language
  5. Single Link List code using C Language

Filed Under: Artificial Intelligence Problems

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 114
  • Page 115
  • Page 116
  • Page 117
  • Page 118
  • Interim pages omitted …
  • Page 135
  • Go to Next Page »

Primary Sidebar

Tags

.Net Projects Download Android Project Ideas Android Projects Angular 2 Assembly Codes C # Projects C & C++ Projects C++ Projects Class Diagrams Computer Graphics Database Project Data Mining Projects DataScience Projects Datastructure Assignments Download Visual Basic Projects Electronics project Hadoop Projects Installation Guides Internet of Things Project IOS Projects Java Java Interview Questions Java Projects JavaScript JavaScript Projects java tutorial JSON JSP Projects Mechanical Projects Mongodb Networking Projects Node JS Projects OS Problems php Projects Placement Papers Project Ideas Python Projects seminar and presentation Struts

Search this Website


Footer

Download Java Project
Download Visual Basic Projects
Download .Net Projects
Download VB Projects
Download C++ Projects
Download NodeJs Projects
Download School Projects
Download School Projects
Ask Questions - Forum
Latest Projects Ideas
Assembly Codes
Datastructure Assignments
Computer Graphics Lab
Operating system Lab
australia-and-India-flag
  • Home
  • About me
  • Contact Form
  • Submit Your Work
  • Site Map
  • Privacy Policy