SCHOOL INFORMATION SYSTEM
SOURCE CODE
For Documentation of this project drop a comment with your mail id, we provides full documentation soon........ as possible.
SOURCE CODE
/*******************************************************
PROJECT ON
SCHOOL INFORMATION SYSTEM
PREPARED BY :-
NAME : HITESH KUMAR
ROLL NO: ODL/07/401/1093
***********************************************************/
/**********************************************************
DECLARATUION OF HEADER FILES
**********************************************************/
#include<iostream.h>
#include<fstream.h>
#include<string.h>
#include<conio.h>
#include<stdlib.h>
#include<dos.h>
#include<stdio.h>
#include<time.h>
/*******************************************************
DECLARATIONS OF CLASSES
******************************************************/
/*****************************************************
DECLARATIONS OF STUDENTS CLASSES
********************************************************/
class student
{
public:
struct date_of_birth
{
int date,month;
long year;
}
dob;
struct address
{
char block[2],colony[20], city[20],
state[20],house_no[4],pin_code[6];
}
add;
int stu_no,stu_class,roll_no;
char stu_name[20],stu_father[20],
gender,mobile_no[10];
int sci,math,hindi,eng,soc;
int per,total;
char grade[2];
void mark();
void stu_report();
void add_marks();
void del_report();
void del_menu();
void add_menu();
void stu_menu();
void add_stu();
void modi_stu();
void dis_stu();
void del_stu();
void del_all();
void del_perm();
void del_temp();
void display();
void display_all();
void display_parti();
int found_stu(int);
};
student stu;
/***************************************************************************
DECLARATIONS OF BOXESS CLASS
***************************************************************************/
class boxess
{
public :
void box();
void box1();
void box2();
void box3();
void box4();
void box5();
void box6();
void box7();
void box8();
void box9();
void box10();
void box11();
void box12();
void box13();
void box14();
};
boxess b;
/***************************************************************************
DECLARATIONS OF LOGIN CLASS
***************************************************************************/
class login
{
public:
void time();
void log_in();
void password();
void user_name();
};
login log;
/***************************************************************************
DECLARATIONS OF MENU CLASS
***************************************************************************/
class menu
{
public :
void wel_menu();
};
menu m;
/***************************************************************************
DECLARATIONS OF MARKS FUNCTION
****************************************************************************/
void student::add_marks()
{
clrscr();
b.box1();
int t_no,flag=0,hitesh=0;
textcolor(WHITE);
gotoxy(25,20);
cprintf("ENTER STUDENT ROLL_NO :-");
cin>>t_no;
clrscr();
b.box1();
fstream file1;
file1.open("stu.dat",ios::in);
file1.seekg(0,ios::beg);
while(file1.read((char *)this,sizeof(student)))
{
if(t_no==roll_no)
{
flag=1;
}
}
if(flag==1)
{
file1.close();
fstream file;
file1.open("report.dat",ios::in);
file1.seekg(0,ios::beg);
while(file1.read((char *)this,sizeof(student)))
{
if(t_no==roll_no)
{
hitesh=1;
}
}
if(hitesh==0)
{
file.close();
fstream file;
roll_no=t_no;
textcolor(11);
gotoxy(25,10);
cprintf("STUDENT ROLL_NO :-");
cout<<roll_no;
gotoxy(25,14);
cprintf("SCIENCE :-");
cin>>sci;
gotoxy(25,18);
cprintf("SOCIAL SCIENCE :-");
cin>>soc;
gotoxy(25,22);
cprintf("MATHEMATICS :-");
cin>>math;
gotoxy(25,26);
cprintf("HINDI :-");
cin>>hindi;
gotoxy(25,30);
cprintf("ENGLISH :-");
cin>>eng;
total=(sci+soc+math+hindi+eng);
per=(total/5);
if(per>=90)
{
grade[0]='A';
grade[1]='+';
}
else if(per>=75)
{
grade[0]='A';
grade[1]='\0';
}
else if(per>=60)
{
grade[0]='B';
grade[1]='\0';
}
else if(per>=50)
{
grade[0]='C';
grade[1]='\0';
}
else
{
grade[0]='D';
grade[1]='\0';
}
file.open("report.dat",ios::out|ios::app);
file.write((char *)this,sizeof(student));
file.close();
}
}
if(hitesh==1)
{
textcolor(11);
gotoxy(26,22);
cprintf("STUDENT MARKS ALREADY ENTERED");
}
if(flag==0)
{
textcolor(11);
gotoxy(25,24);
cprintf("THIS STUDENT IS NOT PERSENT");
}
getch();
stu.add_menu();
}
/****************************************************************************
DECLERATION OF STU_REPORT FUNCTION
****************************************************************************/
void student::stu_report()
{
clrscr();
b.box10();
int temp_no,hitesh=0;
gotoxy(28,20);
textcolor(11);
cprintf("ENTER STUDENT ROLL_NO :- ");
cin>>temp_no;
clrscr();
b.box7();
fstream file;
file.open("report.dat",ios::in);
file.seekg(0,ios::beg);
while(file.read((char *)this,sizeof(student)))
{
if(roll_no==temp_no)
{
hitesh=1;
roll_no=temp_no;
gotoxy(42,12);
cout<<sci;
gotoxy(42,16);
cout<<soc;
gotoxy(42,20);
cout<<math;
gotoxy(42,24);
cout<<hindi;
gotoxy(42,28);
cout<<eng;
gotoxy(53,33);
cout<<per;
gotoxy(55,33);
cout<<" %";
gotoxy(72,33);
cout<<total;
gotoxy(64,33);
cout<<grade;
}
}
file.close();
textcolor(11); //cyan
gotoxy(8,7);
cprintf("SUBJECTS");
textcolor(GREEN);
gotoxy(8,12);
cprintf("SCIENCE");
gotoxy(8,16);
cprintf("SOCIAL SCIENCE");
gotoxy(8,20);
cprintf("MATHEMATICS");
gotoxy(8,24);
cprintf("HINDI");
gotoxy(8,28);
cprintf("ENGLISH");
textcolor(RED);
gotoxy(28,7);
cprintf("F_MARKS");
textcolor(WHITE);
gotoxy(28,12);
cprintf("100");
gotoxy(28,16);
cprintf("100");
gotoxy(28,20);
cprintf("100");
gotoxy(28,24);
cprintf("100");
gotoxy(28,28);
cprintf("100");
textcolor(WHITE+YELLOW);
gotoxy(40,7);
cprintf("M_OBTAIN");
total=(sci+soc+math+hindi+eng);
per=(total/5);
textcolor(6); //yellow
gotoxy(52,7);
cprintf("PER(%)");
textcolor(12); //magenta
gotoxy(62,7);
cprintf("GRADE");
textcolor(GREEN);
gotoxy(70,7);
cprintf("TOTAL");
textcolor(12); //pink
gotoxy(10,39);
cprintf("STUDENT NAME -");
gotoxy(10,41);
cprintf("FATHER'S NAME -");
gotoxy(10,43);
cprintf("ROLL NO. -");
gotoxy(10,45);
cprintf("CLASS -");
fstream marks;
marks.open("stu.dat",ios::in);
marks.seekg(0,ios::beg);
while(marks.read((char *)this,sizeof(student)))
{
if(roll_no==temp_no)
{
gotoxy(30,39);
cout<<stu_name;
gotoxy(30,41);
cout<<stu_father;
gotoxy(30,43);
cout<<roll_no;
gotoxy(30,45);
cout<<stu_class;
}
}
if(hitesh==0)
{
clrscr();
b.box10();
textcolor(11);
gotoxy(26,24);
cprintf("STUDENT MARKS IS NOT PERSENT ");
}
marks.close();
getch();
stu.dis_stu();
}
/***************************************************************************
DECLARATIONS OF STUDENT FUNCTION
***************************************************************************/
void student::stu_menu()
{
clrscr();
int ch;
b.box();
b.box2();
b.box3();
textcolor(GREEN);
gotoxy(30,10);
textcolor(6);
gotoxy(30,19);
cprintf("1: ADD NEW ");
gotoxy(30,22);
cprintf("2: MODIFY ");
gotoxy(30,25);
cprintf("3: DISPLAY");
gotoxy(30,28);
cprintf("4: DELETE ");
gotoxy(30,31);
cprintf("5: EXIT");
choic :
gotoxy(30,34);
textcolor(11);
cprintf("ENTER YOUR CHOICE :-");
cin>>ch;
switch(ch)
{
case 1:
add_menu();
break;
case 2:
modi_stu();
break;
case 3:
dis_stu();
break;
case 4:
del_menu();
break;
case 5:
exit(0);
break;
default :
textcolor(GREEN);
gotoxy(30,36);
cprintf("WRONG CHOICE :-");
getch();
gotoxy(30,36);
cprintf(" ");
goto choic;
}
getch();
}
/****************************************************************************
DECLERATION OF ADD_MENU
*****************************************************************************/
void student::add_menu()
{
int ch;
clrscr();
b.box1();
b.box3();
textcolor(6);
gotoxy(28,21);
cprintf("1: ADD NEW STUDENT RECORD");
gotoxy(28,23);
cprintf("2: ADD STUDENT MARKS");
gotoxy(28,25);
cprintf("3: GOTO MAIN MENU");
gotoxy(28,27);
cprintf("4: EXIT FROM HERE");
choic :
gotoxy(28,30);
textcolor(11);
cprintf("ENTER YOUR CHOICE :-");
cin>>ch;
switch(ch)
{
case 1:
add_stu();
break;
case 2:
add_marks();
break;
case 3:
stu_menu();
break;
case 4:
exit(0);
break;
default :
textcolor(GREEN);
gotoxy(30,33);
cprintf("WRONG CHOICE :-");
getch();
gotoxy(30,33);
cprintf(" ");
goto choic;
}
}
/****************************************************************************
FUNCTION OF DELETE MENU
****************************************************************************/
void student::del_menu()
{
int ch;
clrscr();
b.box12();
//b.box3();
textcolor(6);
gotoxy(28,20);
cprintf("1: DELETE STUDENT RECORD");
gotoxy(28,23);
cprintf("2: DELETE STUDENT MARKS");
gotoxy(28,26);
cprintf("3: GOTO MAIN MENU");
gotoxy(28,29);
cprintf("4: EXIT FROM MENU");
choic :
gotoxy(28,32);
textcolor(11);
cprintf("ENTER YOUR CHOICE :-");
cin>>ch;
switch(ch)
{
case 1:
del_stu();
break;
case 2:
del_report();
break;
case 3:
stu_menu();
break;
case 4:
exit(0);
break;
default :
textcolor(GREEN);
gotoxy(28,32);
cprintf("WRONG CHOICE :-");
getch();
gotoxy(28,32);
cprintf(" ");
goto choic;
}
}
/****************************************************************************
FUNCTION OF DELETE MARKS SHEET
****************************************************************************/
void student::del_report()
{
clrscr();
b.box10();
textcolor(11);
int t_roll;
gotoxy(30,22);
cprintf("ENTER STUDENT ROLL NO.");
cin>>t_roll;
fstream file,temp;
file.open("report.dat",ios::in|ios::out);
file.seekg(0,ios::beg);
temp.open("temp.dat",ios::out);
while(file.read((char *)this,sizeof(student)))
{
if(t_roll!=roll_no)
{
temp.write((char *)this,sizeof(student));
}
}
file.close();
temp.close();
remove("report.dat");
rename("temp.dat","report.dat");
textcolor(WHITE);
gotoxy(30,26);
cprintf("RECORD IS DELETED");
if(t_roll!=roll_no)
{
textcolor(WHITE);
gotoxy(30,26);
cprintf("RECORD IS NOT FOUND");
}
getch();
stu.del_menu();
}
/**************************************************************************
DECLARATION OF ADD_NEW FUNCTION
/**************************************************************************/
void student::add_stu()
{
clrscr();
b.box10();
textcolor(YELLOW);
int temp_no,mob,pin,flag=0;
mob=0,pin=0;
fstream file;
file.open("stu.dat",ios::in);
file.seekg(0,ios::beg);
gotoxy(25,22);
cprintf("ENTER STUDENT ROLL NUMBER :-");
cin>>temp_no;
while(file.read((char *)this,sizeof(student)))
{
if(temp_no==roll_no)
{
flag=1;
break;
}
}
file.close();
if(flag==0)
{
fstream file;
roll_no=temp_no;
gotoxy(25,48);
clrscr();
b.box1();
textcolor(RED);
gotoxy(20,10);
cprintf("STUDENT ROLL_NO :-");
cout<<roll_no;
gotoxy(20,12);
cprintf("ENTER STUDENT NAME :-");
gets(stu_name);
gotoxy(20,14);
cprintf("ENTER FATHER'S NAME :-");
gets(stu_father);
gotoxy(20,16);
cprintf("ENTER CLASS :-");
cin>>stu_class;
gotoxy(20,18);
cprintf("ENTER D.O.B (DD/MM/YY) :");
dat:
gotoxy(45,18);
textcolor(RED);
cin>>dob.date;
if(dob.date<=31)
{
mon:
gotoxy(47,18);
textcolor(RED);
cprintf("/");
gotoxy(48,18);
cin>>dob.month;
if(dob.month<=12)
{
yea:
gotoxy(50,18);
textcolor(RED);
cprintf("/");
gotoxy(51,18);
cin>>dob.year;
if((dob.year<=2011) && (dob.year>1950))
{
raj:
textcolor(RED);
gotoxy(20,20);
cprintf("ENTER GENDER (M/F) :-");
cin>>gender;
if((gender=='m'||gender=='M' || gender=='f' || gender=='F'))
{
gotoxy(20,22);
cprintf("ENTER ADRESS ");
gotoxy(20,24);
cprintf("BLOCK(IN ALPHABET) :-");
gets(add.block);
gotoxy(20,26);
cprintf("HOUSE NUMBER :-");
gets(add.house_no);
gotoxy(20,28);
cprintf("COLONY :-");
gets(add.colony);
gotoxy(20,30);
cprintf("CITY :-");
gets(add.city);
gotoxy(20,32);
cprintf("STATE :-");
gets(add.state);
pin:
textcolor(RED);
gotoxy(20,34);
cprintf("PIN_CODE(IN 6 DIGITS) :-");
gets(add.pin_code);
pin=strlen(add.pin_code);
if(pin==6)
{
mob:
textcolor(RED);
gotoxy(20,36);
cprintf("MOBILE NO.(IN 10 DIGITS):-");
gets(mobile_no);
mob=strlen(mobile_no);
if(mob==10)
{
file.open("stu.dat",ios::out|ios::app);
file.write((char *)this,sizeof(student));
file.close();
clrscr();
b.box();
b.box2();
textcolor(YELLOW);
b.box3();
gotoxy(30,22);
textcolor(11);
cprintf(" RECORD IS ADDED ");
getch();
stu.add_menu();
}
else
{
gotoxy(20,40);
textcolor(WHITE);
cprintf("MOBILE NUMBER IS NOT VALID");
getch();
gotoxy(20,40);
cprintf(" ");
goto mob;
}
}
else
{
gotoxy(20,40);
textcolor(WHITE);
cprintf("PIN CODE IS NOT VALID");
getch();
gotoxy(20,40);
cout<<" ";
goto pin;
}
}
else
{
gotoxy(20,40);
textcolor(WHITE);
cprintf("ENTER GENDER IS NOT VALID");
getch();
gotoxy(20,40);
cout<<" ";
goto raj;
}
}
else
{
gotoxy(20,40);
textcolor(WHITE);
cprintf("ENTER YEAR IS NOT VALID");
getch();
gotoxy(20,40);
cout<<" ";
goto yea;
}
}
else
{
gotoxy(20,40);
textcolor(WHITE);
cprintf("ENTER MONTH IS NOT VALID");
getch();
gotoxy(20,40);
cout<<" ";
goto mon;
}
}
else
{
gotoxy(20,40);
textcolor(WHITE);
cprintf("ENTER DATE IS NOT VALID");
getch();
gotoxy(20,40);
cout<<" ";
goto dat;
}
}
else
{
gotoxy(25,28);
cout<<"RECORD IS ALLREADY FOUND ";
getch();
stu.add_menu();
}
}
/****************************************************************************
DECLARATION OF DISPLAY FUNCTION
*****************************************************************************/
void student::dis_stu()
{
clrscr();
b.box1();
b.box9();
int hk;
textcolor(6);
gotoxy(27,20);
cprintf("1: DISPLAY ALL RECORD");
gotoxy(27,22);
cprintf("2: DISPLAY PARTICULAR RECORD");
gotoxy(27,24);
cprintf("3: DISPLAY MARKS SHEET");
gotoxy(27,26);
cprintf("4: GOTO MAIN MENU");
gotoxy(27,28);
cprintf("5: EXIT FROM MENU");
choice:
gotoxy(27,31);
textcolor(11);
cprintf("ENTER YOUR CHOICE ");
cin>>hk;
switch(hk)
{
case 1:
display_all();
break;
case 2:
display_parti();
break;
case 3:
stu_report();
break;
case 4:
stu_menu();
break;
case 5:
exit(0);
break;
default :
textcolor(GREEN);
gotoxy(27,33);
cprintf("WRONG CHOICE :-");
getch();
gotoxy(27,33);
cprintf(" ");
goto choice;
}
getch();
}
/****************************************************************************
DECLARATION OF DISPLAY_PARTI FUNCTION
*****************************************************************************/
void student::display_parti()
{
clrscr();
b.box10();
textcolor(YELLOW);
int temp_no,hitesh=0;
fstream file;
file.open("stu.dat",ios::in);
file.seekg(0,ios::beg);
gotoxy(25,20);
cprintf("ENTER STUDENT ROLL NUMBER :-");
cin>>temp_no;
clrscr();
b.box1();
while(file.read((char *)this,sizeof(student)))
{
if(temp_no==roll_no)
{
hitesh=1;
textcolor(RED);
gotoxy(20,10);
cprintf("STUDENT NAME :- ");
cout<<stu_name;
gotoxy(20,14);
cprintf("ROLL NUMBER :- ");
cout<<roll_no;
gotoxy(20,18);
cprintf("FATHER'S NAME :- ");
cout<<stu_father;
gotoxy(20,22);
cprintf("CLASS :- ");
cout<<stu_class;
gotoxy(20,26);
cprintf("GENDER :- ");
cout<<gender;
gotoxy(20,30);
cprintf("DATE OF BIRTH :- ");
cout<<dob.date<<"/"<<dob.month<<"/"<<dob.year;
gotoxy(20,34);
cprintf("ADDRES :- ");
cout<<add.block<<"-"<<add.house_no<<", ";
cout<<add.colony<<", ";
gotoxy(40,36);
cout<<add.city<<", ";
cout<<add.city<<"- "<<add.pin_code;
gotoxy(20,40);
cprintf("MOBILE NUMBER :- ");
cout<<mobile_no;
}
}
if(hitesh==0)
{
textcolor(CYAN);
gotoxy(30,25);
cprintf("RECORD IS NOT FOUND");
}
file.close();
getch();
stu.dis_stu();
}
/****************************************************************************
DECLARE OF DISPLAY ALL FUNCTION
****************************************************************************/
void student::display_all()
{
clrscr();
b.box6();
textcolor(2);
gotoxy(4,5);
cprintf("R_NO");
gotoxy(10,5);
cprintf("STUDENT NAME");
gotoxy(28,5);
cprintf("FATHER'S NAME");
gotoxy(48,5);
cprintf("CLS");
gotoxy(52,5);
cprintf("SEX");
gotoxy(56,5);
cprintf("MOBILE_NO");
gotoxy(68,5);
cprintf("D.O.B");
int y=4;
fstream file;
file.open("stu.dat",ios::in);
file.seekg(0,ios::beg);
while(file.read((char *)this,sizeof(student)))
{
y+=4;
gotoxy(5,y);
cout<<roll_no;
gotoxy(10,y);
cout<<stu_name;
gotoxy(28,y);
cout<<stu_father;
gotoxy(49,y);
cout<<stu_class;
gotoxy(53,y);
cout<<gender;
gotoxy(56,y);
cout<<mobile_no;
gotoxy(67,y);
cout<<dob.date<<"/"<<dob.month<<"/"<<dob.year;
}
file.close();
getch();
stu.dis_stu();
}
/****************************************************************************
DECLARATION OF MODIFY FUNCTION
****************************************************************************/
void student::modi_stu()
{
int t;
clrscr();
b.box();
b.box1();
textcolor(YELLOW);
int temp_no,hitesh=0;
fstream file;
file.open("stu.dat",ios::in);
file.seekg(0,ios::beg);
gotoxy(25,20);
cprintf("ENTER STUDENT ROLL NUMBER :-");
cin>>temp_no;
clrscr();
b.box1();
while(file.read((char *)this,sizeof(student)))
{
if(temp_no==roll_no)
{
hitesh=1;
textcolor(RED);
gotoxy(20,10);
cprintf("STUDENT NAME :- ");
cout<<stu_name;
gotoxy(20,14);
cprintf("ROLL NUMBER :- ");
cout<<roll_no;
gotoxy(20,18);
cprintf("FATHER'S NAME :- ");
cout<<stu_father;
gotoxy(20,22);
cprintf("CLASS :- ");
cout<<stu_class;
gotoxy(20,26);
cprintf("GENDER :- ");
cout<<gender;
gotoxy(20,30);
cprintf("DATE OF BIRTH :- ");
cout<<dob.date<<"/"<<dob.month<<"/"<<dob.year;
gotoxy(20,34);
cprintf("ADDRES :- ");
cout<<add.block<<"-"<<add.house_no<<", ";
cout<<add.colony<<", ";
gotoxy(40,36);
cout<<add.city<<", ";
cout<<add.city<<"- "<<add.pin_code;
gotoxy(20,40);
cprintf("MOBILE NUMBER :- ");
cout<<mobile_no;
}
}
if(hitesh==0)
{
textcolor(CYAN);
gotoxy(30,25);
cprintf("RECORD IS NOT FOUND");
}
file.close();
getch();
gotoxy(20,42);
cprintf("Do you want to modify this(Y/N) - ");
cin>>t;
if(t=='y' || t=='Y')
{
}
stu.dis_stu();
getch();
}
//*****************************************************************************//
/****************************************************************************
DECLARE OF DELETE FUNCTION
****************************************************************************/
void student::del_stu()
{
clrscr();
b.box10();
textcolor(CYAN);
int t_roll;
gotoxy(30,22);
cprintf("ENTER STUDENT ROLL NO.");
cin>>t_roll;
fstream file,temp;
file.open("stu.dat",ios::in|ios::out);
file.seekg(0,ios::beg);
temp.open("temp.dat",ios::out);
while(file.read((char *)this,sizeof(student)))
{
if(t_roll!=roll_no)
{
temp.write((char *)this,sizeof(student));
}
}
file.close();
temp.close();
remove("stu.dat");
rename("temp.dat","stu.dat");
textcolor(WHITE);
gotoxy(30,26);
cprintf("RECORD IS DELETED");
if(t_roll!=roll_no)
{
textcolor(WHITE);
gotoxy(30,26);
cprintf("RECORD IS NOT FOUND");
}
getch();
stu.del_menu();
}
/****************************************************************************
DECLARE OF BOXESS FUNCTION
*****************************************************************************/
void boxess::box()
{
int i;
textcolor(GREEN);
for(i=1;i<=79;i++)
{
gotoxy(i,2);
textcolor(2);
cprintf("Í");
gotoxy(i,3);
textcolor(4);
cprintf("Û");
delay(1);
}
gotoxy(77,2);
textcolor(2);
cprintf("ÍÍ»");
for(i=3;i<=50;i++)
{
gotoxy(79,i);
textcolor(2);
cprintf("º");
gotoxy(78,i);
textcolor(4);
cprintf("Û");
delay(1);
}
for(i=78;i>=2;i--)
{
gotoxy(i,50);
textcolor(2);
cprintf("Í");
gotoxy(i,49);
textcolor(4);
cprintf("Û");
delay(1);
gotoxy(79,50);
textcolor(2);
cprintf("¼");
}
for(i=49;i>=2;i--)
{
gotoxy(1,50);
textcolor(2);
cprintf("È");
gotoxy(1,i);
textcolor(2);
cprintf("º");
gotoxy(2,i);
textcolor(4);
cprintf("Û");
delay(1);
}
gotoxy(1,2);
textcolor(2);
cprintf("ÉÍ");
for(i=3;i<=76;i++)
{
gotoxy(i,4);
textcolor(2);
cprintf("Í");
delay(1);
}
gotoxy(76,4);
textcolor(2);
cprintf("Í»");
for(i=5;i<=47;i++)
{
gotoxy(77,i);
textcolor(2);
cprintf("º");
delay(1);
}
for(i=77;i>=3;i--)
{
gotoxy(i,48);
textcolor(2);
cprintf("Í");
delay(1);
gotoxy(77,48);
textcolor(2);
cprintf("¼");
}
for(i=48;i>=5;i--)
{
gotoxy(3,48);
textcolor(2);
cprintf("È");
gotoxy(3,i);
textcolor(2);
cprintf("º");
delay(1);
}
gotoxy(3,4);
textcolor(2);
cprintf("ÉÍ");
textcolor(YELLOW);
gotoxy(52,49);
cprintf("¯ made by:");
gotoxy(62,49);
textcolor(CYAN);
cprintf("HITESH KUMAR");
textcolor(YELLOW);
gotoxy(74,49);
cprintf("®");
gotoxy(32,2);
textcolor(YELLOW);
cprintf("¯ BCA PROJECT ®");
}
/****************************************************************************
DECLARE OF BOX1 FUNCTION
****************************************************************************/
void boxess::box1()
{
for(int i=1;i<=79;i++)
{
textcolor(GREEN);
gotoxy(i,2);
cprintf("Í");
gotoxy(i,3);
textcolor(YELLOW);
cprintf("±");
gotoxy(i,4);
cprintf("±");
gotoxy(i,5);
cprintf("±");
}
textcolor(GREEN);
gotoxy(79,2);
cprintf("»");
for(i=3;i<=49;i++)
{
textcolor(GREEN);
gotoxy(79,i);
cprintf("º");
gotoxy(78,i);
textcolor(YELLOW);
cprintf("±");
gotoxy(77,i);
cprintf("±");
}
for(i=79;i>=2;i--)
{
textcolor(GREEN);
gotoxy(i,50);
cprintf("Í");
gotoxy(79,50);
cprintf("¼");
}
for(i=49;i>=3;i--)
{
textcolor(GREEN);
gotoxy(1,50);
cprintf("È");
gotoxy(1,i);
cprintf("º");
gotoxy(2,i);
textcolor(YELLOW);
cprintf("±");
gotoxy(3,i);
cprintf("±");
}
textcolor(GREEN);
gotoxy(1,2);
cprintf("ÉÍ");
for(i=5;i<=76;i++)
{
textcolor(GREEN);
gotoxy(i,6);
cprintf("Í");
}
textcolor(GREEN);
gotoxy(76,6);
cprintf("»");
for(i=7;i<=46;i++)
{
textcolor(GREEN);
gotoxy(76,i);
cprintf("º");
}
for(i=75;i>=5;i--)
{
textcolor(GREEN);
gotoxy(i,46);
cprintf("Í");
gotoxy(76,46);
cprintf("¼");
textcolor(YELLOW);
gotoxy(i+1,47);
cprintf("±");
gotoxy(i+1,48);
cprintf("±");
gotoxy(i+1,49);
cprintf("±");
gotoxy(i-1,47);
cprintf("±");
gotoxy(i-1,48);
cprintf("±");
gotoxy(i-1,49);
cprintf("±");
}
for(i=45;i>=6;i--)
{
textcolor(GREEN);
gotoxy(4,46);
cprintf("È");
gotoxy(4,i);
cprintf("º");
}
textcolor(GREEN);
gotoxy(4,6);
cprintf("ÉÍ");
textcolor(WHITE);
gotoxy(30,4);
cprintf("SCHOOL INFORMATION SYSTEM");
int y=0;
for(int x=y;x<=100;x++)
{
x=y;
textcolor(CYAN);
gotoxy(33,48);
cprintf("LORDING......");
delay(50);
gotoxy(46,48);
cout<<"("<<x<<"%)";
y=x+10;
}
}
/****************************************************************************
DECLARE OF BOX2 FUNCTION
****************************************************************************/
void boxess::box2()
{
for(int i=15;i<=65;i++ )
{
textcolor(CYAN);
gotoxy(i,6);
cprintf("±");
gotoxy(i,7);
cprintf("±");
gotoxy(i,8);
cprintf("±");
gotoxy(i,9);
cprintf("±");
gotoxy(i,10);
cprintf("±");
}
for(int j=14;j<=66;j++)
{
textcolor(YELLOW);
gotoxy(j,5);
cprintf("Í");
gotoxy(j,11);
cprintf("Í");
}
for(int k=5;k<=11;k++)
{
gotoxy(14,k);
cprintf("º");
gotoxy(66,k);
cprintf("º");
}
gotoxy(14,5);
cprintf("É");
gotoxy(14,11);
cprintf("È");
gotoxy(66,5);
cprintf("»");
gotoxy(66,11);
cprintf("¼");
textcolor(WHITE);
gotoxy(28,8);
cprintf("SCHOOL INFORMATION SYSTEM");
}
/****************************************************************************
DECLARE OF BOX7 FUNCTION
****************************************************************************/
void boxess::box7()
{
for(int m=3;m<=30;m++)
{
textcolor(YELLOW);
gotoxy(24,m);
cprintf("³");
}
for(int n=3;n<=30;n++)
{
gotoxy(36,n);
cprintf("³");
}
for(int o=3;o<=36;o++)
{
gotoxy(49,o);
cprintf("³");
}
for(int q=3;q<=36;q++)
{
gotoxy(60,q);
cprintf("³");
}
for(int r=3;r<=36;r++)
{
gotoxy(68,r);
cprintf("³");
}
for(int s=2;s<=78;s++)
{
gotoxy(s,31);
cprintf("Ä");
}
for(int t=2;t<=78;t++)
{
gotoxy(t,36);
cprintf("Ä");
}
int i;
textcolor(GREEN);
for(i=1;i<=79;i++)
{
gotoxy(i,2);
textcolor(2);
cprintf("Í");
gotoxy(i,3);
textcolor(4);
cprintf("Û");
delay(1);
}
gotoxy(77,2);
textcolor(2);
cprintf("ÍÍ»");
for(i=3;i<=50;i++)
{
gotoxy(79,i);
textcolor(2);
cprintf("º");
gotoxy(78,i);
textcolor(4);
cprintf("Û");
delay(1);
}
for(i=78;i>=2;i--)
{
gotoxy(i,50);
textcolor(2);
cprintf("Í");
gotoxy(i,49);
textcolor(4);
cprintf("Û");
delay(1);
gotoxy(79,50);
textcolor(2);
cprintf("¼");
}
for(i=49;i>=2;i--)
{
gotoxy(1,50);
textcolor(2);
cprintf("È");
gotoxy(1,i);
textcolor(2);
cprintf("º");
gotoxy(2,i);
textcolor(4);
cprintf("Û");
delay(1);
}
gotoxy(1,2);
textcolor(2);
cprintf("ÉÍ");
for(i=3;i<=76;i++)
{
gotoxy(i,4);
textcolor(2);
cprintf("Í");
delay(1);
}
gotoxy(76,4);
textcolor(2);
cprintf("Í»");
for(i=5;i<=47;i++)
{
gotoxy(77,i);
textcolor(2);
cprintf("º");
delay(1);
}
for(i=77;i>=3;i--)
{
gotoxy(i,48);
textcolor(2);
cprintf("Í");
delay(1);
gotoxy(77,48);
textcolor(2);
cprintf("¼");
}
for(i=48;i>=5;i--)
{
gotoxy(3,48);
textcolor(2);
cprintf("È");
gotoxy(3,i);
textcolor(2);
cprintf("º");
delay(1);
}
gotoxy(3,4);
textcolor(2);
cprintf("ÉÍ");
textcolor(YELLOW);
gotoxy(52,49);
cprintf("¯ made by:");
gotoxy(62,49);
textcolor(CYAN);
cprintf("HITESH KUMAR");
textcolor(YELLOW);
gotoxy(74,49);
cprintf("®");
gotoxy(32,2);
textcolor(YELLOW);
cprintf("¯ ANUAL RESULT ®");
}
/***************************************************************************/
void boxess::box8()
{
for(int h=1;h<=78;h++)
{
textcolor(2);
gotoxy(h,2);
cprintf("ÛÛ");
gotoxy(h,3);
cprintf("ÛÛ");
}
for(int i=1;i<=78;i++)
{
textcolor(2);
gotoxy(i,49);
cprintf("ÛÛ");
gotoxy(i,50);
cprintf("ÛÛ");
}
for(int j=3;j<=48;j++)
{
textcolor(2);
gotoxy(78,j);
cprintf("ÛÛ");
}
for(int k=2;k<=48;k++)
{
textcolor(2);
gotoxy(1,k);
cprintf("ÛÛ");
}
}
/***************************************************************************/
void boxess::box9()
{
for(int h=20;h<=50;h++)
{
textcolor(4);
gotoxy(h,14);
cprintf("ÛÛÛÛÛÛÛÛÛ");
gotoxy(h,15);
cprintf("ÛÛÛÛÛÛÛÛÛ");
}
for(int j=14;j<=37;j++)
{
textcolor(4);
gotoxy(58,j);
cprintf("ÛÛ");
delay(5);
}
for(int i=50;i>=20;i--)
{
textcolor(4);
gotoxy(i,36);
cprintf("ÛÛÛÛÛÛÛÛÛ");
gotoxy(i,37);
cprintf("ÛÛÛÛÛÛÛÛÛ");
delay(5);
}
for(int k=37;k>=14;k--)
{
textcolor(4);
gotoxy(20,k);
cprintf("ÛÛ");
delay(5);
}
}
/****************************************************************************
****************************************************************************/
void boxess::box10()
{
for(int h=38;h<=48;h++)
{
textcolor(1);
gotoxy(20,h);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(int j=2;j<=48;j++)
{
textcolor(1);
gotoxy(2,j);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(int i=2;i<=13;i++)
{
textcolor(1);
gotoxy(20,i);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(int k=2;k<=48;k++)
{
textcolor(1);
gotoxy(60,k);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
b.box9();
b.box8();
}
/***************************************************************************/
void boxess::box11()
{
int h;
for(h=12;h<=68;h++)
{
textcolor(4);
gotoxy(h,20);
cprintf("Û");
}
for(h=12;h<=68;h++)
{
textcolor(4);
gotoxy(h,26);
cprintf("Û");
}
for(h=20;h<=26;h++)
{
textcolor(4);
gotoxy(12,h);
cprintf("Û");
}
for(h=20;h<=26;h++)
{
textcolor(4);
gotoxy(68,h);
cprintf("Û");
}
for(int i=14;i<=66;i++)
{
textcolor(2);
gotoxy(i,22);
cprintf("Û");
gotoxy(i,23);
cprintf("Û");
gotoxy(i,24);
cprintf("Û");
gotoxy(i-1,22);
delay(100);
}
}
/***************************************************************************/
/****************************************************************************
****************************************************************************/
void boxess::box12()
{
for(int h=38;h<=48;h++)
{
textcolor(4);
gotoxy(20,h);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(int j=2;j<=48;j++)
{
textcolor(4);
gotoxy(2,j);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(int i=2;i<=13;i++)
{
textcolor(4);
gotoxy(20,i);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(int k=2;k<=48;k++)
{
textcolor(4);
gotoxy(60,k);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
b.box8();
}
/****************************************************************************
****************************************************************************/
void boxess::box13()
{
int i;
for(i=38;i<=48;i++)
{
textcolor(4);
gotoxy(20,i);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(i=2;i<=48;i++)
{
textcolor(4);
gotoxy(2,i);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(i=2;i<=13;i++)
{
textcolor(4);
gotoxy(20,i);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(i=2;i<=48;i++)
{
textcolor(4);
gotoxy(60,i);
cprintf("ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ");
}
for(i=20;i<=50;i++)
{
textcolor(1);
gotoxy(i,14);
cprintf("ÛÛÛÛÛÛÛÛÛ");
gotoxy(i,15);
cprintf("ÛÛÛÛÛÛÛÛÛ");
}
for(i=14;i<=37;i++)
{
textcolor(1);
gotoxy(58,i);
cprintf("ÛÛ");
delay(5);
}
for(i=50;i>=20;i--)
{
textcolor(1);
gotoxy(i,36);
cprintf("ÛÛÛÛÛÛÛÛÛ");
gotoxy(i,37);
cprintf("ÛÛÛÛÛÛÛÛÛ");
delay(5);
}
for(i=37;i>=14;i--)
{
textcolor(1);
gotoxy(20,i);
cprintf("ÛÛ");
delay(5);
}
for(i=1;i<=78;i++)
{
textcolor(225);
gotoxy(i,2);
cprintf("ÛÛ");
gotoxy(i,3);
cprintf("ÛÛ");
}
for(i=1;i<=78;i++)
{
textcolor(225);
gotoxy(i,49);
cprintf("ÛÛ");
gotoxy(i,50);
cprintf("ÛÛ");
}
for(i=3;i<=48;i++)
{
textcolor(225);
gotoxy(78,i);
cprintf("ÛÛ");
}
for(i=2;i<=48;i++)
{
textcolor(225);
gotoxy(1,i);
cprintf("ÛÛ");
}
}
/***************************************************************************/
/****************************************************************************
DECLARE OF BOX4 FUNCTION
****************************************************************************/
void boxess::box4()
{
int i;
textcolor(9);
for(i=5;i<=75;i++)
{
gotoxy(i,45);
cprintf("Í");
}
for(i=5;i<=75;i++)
{
gotoxy(i,43);
cprintf("Í");
}
gotoxy(5,43);
cprintf("É");
gotoxy(5,44);
cprintf("º");
gotoxy(5,45);
cprintf("È");
gotoxy(75,43);
cprintf("»");
gotoxy(75,44);
cprintf("º");
gotoxy(75,45);
cprintf("¼");
}
/****************************************************************************
DECLARE OF BOX5 FUNCTION
****************************************************************************/
void boxess::box5()
{
int i;
for(i=1;i<=79;i++)
{
textcolor(2);
gotoxy(i,2);
cprintf("Û");
delay(3);
}
for(i=2;i<=48;i++)
{
textcolor(2);
gotoxy(79,i);
cprintf("Û");
delay(3);
}
for(i=79;i>=1;i--)
{
textcolor(2);
gotoxy(i,49);
cprintf("Û");
delay(3);
}
for(i=48;i>=2;i--)
{
textcolor(2);
gotoxy(1,i);
cprintf("Û");
delay(3);
}
for(i=3;i<=77;i++)
{
textcolor(2);
gotoxy(i,4);
cprintf("Û");
delay(3);
}
for(i=4;i<=46;i++)
{
textcolor(2);
gotoxy(77,i);
cprintf("Û");
delay(3);
}
for(i=77;i>=3;i--)
{
textcolor(2);
gotoxy(i,47);
cprintf("Û");
delay(3);
}
for(i=47;i>=4;i--)
{
textcolor(2);
gotoxy(3,i);
cprintf("Û");
delay(3);
}
}
/****************************************************************************
DECLARE OF BOX6 FUNCTION
****************************************************************************/
void boxess::box6()
{
textcolor(4);
for(int i=1;i<=79;i++)
{
gotoxy(i,1);
cprintf("Û");
}
for(i=2;i<=50;i++)
{
gotoxy(79,i);
cprintf("Û");
}
for(i=79;i>=2;i--)
{
gotoxy(i,50);
cprintf("Û");
}
for(i=50;i>=2;i--)
{
gotoxy(1,i);
cprintf("Û");
}
for(i=3;i<=77;i++)
{
gotoxy(i,3);
cprintf("Û");
}
for(i=3;i<=48;i++)
{
gotoxy(77,i);
cprintf("Û");
}
for(i=77;i>=3;i--)
{
gotoxy(i,48);
cprintf("Û");
}
for(i=48;i>=3;i--)
{
gotoxy(3,i);
cprintf("Û");
}
textcolor(YELLOW);
gotoxy(52,49);
cprintf("¯ made by:");
gotoxy(62,49);
textcolor(11);
cprintf("HITESH KUMAR");
textcolor(14);
gotoxy(74,49);
cprintf("®");
gotoxy(32,2);
textcolor(11);
cprintf("¯ ALL RECORDS ®");
for(int m=4;m<=47;m++)
{
textcolor(4);
gotoxy(8,m);
cprintf("Û");
}
for(int n=4;n<=47;n++)
{
textcolor(4);
gotoxy(26,n);
cprintf("Û");
}
for(int o=4;o<=47;o++)
{
textcolor(4);
gotoxy(47,o);
cprintf("Û");
}
for(int p=4;p<=47;p++)
{
textcolor(4);
gotoxy(51,p);
cprintf("Û");
}
for(int q=4;q<=47;q++)
{
textcolor(4);
gotoxy(55,q);
cprintf("Û");
}
for(int r=4;r<=47;r++)
{
textcolor(4);
gotoxy(66,r);
cprintf("Û");
}
}
/****************************************************************************
DECLARE OF BOX3 FUNCTION
****************************************************************************/
void boxess::box3()
{
int i;
for(i=14;i<=66;i++)
{
textcolor(2);
gotoxy(i,15);
cprintf("Í");
textcolor(4);
gotoxy(i,16);
cprintf("Û");
textcolor(2);
gotoxy(i,40);
cprintf("Í");
textcolor(4);
gotoxy(i,39);
cprintf("Û");
}
for(i=15;i<=40;i++)
{
textcolor(2);
gotoxy(14,i);
cprintf("º");
textcolor(2);
gotoxy(66,i);
cprintf("º");
}
for(i=16;i<=39;i++)
{
textcolor(4);
gotoxy(15,i);
cprintf("Û");
}
for(i=16;i<=39;i++)
{
textcolor(4);
gotoxy(65,i);
cprintf("Û");
}
textcolor(2);
gotoxy(14,15);
cprintf("É");
gotoxy(14,40);
cprintf("È");
gotoxy(66,15);
cprintf("»");
gotoxy(66,40);
cprintf("¼");
for(i=16;i<=64;i++)
{
textcolor(2);
gotoxy(i,17);
cprintf("Í");
gotoxy(i,38);
cprintf("Í");
}
for(i=18;i<=38;i++)
{
textcolor(2);
gotoxy(16,i);
cprintf("º");
gotoxy(64,i);
cprintf("º");
}
gotoxy(16,17);
textcolor(2);
cprintf("É");
gotoxy(16,38);
cprintf("È");
gotoxy(64,17);
cprintf("»");
gotoxy(64,38);
cprintf("¼");
}
/***************************************************************************/
void boxess::box14()
{
for(int j=1;j<=50;j++)
{
textcolor(j);
gotoxy(30,14);
cprintf("/");
gotoxy(29,15);
cprintf("/");
gotoxy(28,16);
cprintf("/");
gotoxy(27,17);
cprintf("/");
gotoxy(26,18);
cprintf("/");
gotoxy(25,19);
cprintf("/");
gotoxy(24,20);
cprintf("/");
gotoxy(23,21);
cprintf("/");
textcolor(j+9);
gotoxy(31,13);
cprintf("-");
gotoxy(32,13);
cprintf("-");
gotoxy(33,13);
cprintf("-");
gotoxy(34,13);
cprintf("-");
gotoxy(35,13);
cprintf("-");
gotoxy(36,13);
cprintf("-");
gotoxy(37,13);
cprintf("-");
gotoxy(38,13);
cprintf("-");
gotoxy(39,13);
cprintf("-");
gotoxy(40,13);
cprintf("-");
gotoxy(41,13);
cprintf("-");
gotoxy(42,13);
cprintf("-");
gotoxy(43,13);
cprintf("-");
gotoxy(44,13);
cprintf("-");
gotoxy(45,13);
cprintf("-");
gotoxy(46,13);
cprintf("-");
gotoxy(47,13);
cprintf("-");
gotoxy(48,13);
cprintf("-");
gotoxy(49,14);
textcolor(j+2);
cprintf("\\");
gotoxy(50,15);
cprintf("\\");
gotoxy(51,16);
cprintf("\\");
gotoxy(52,17);
cprintf("\\");
gotoxy(53,18);
cprintf("\\");
gotoxy(54,19);
cprintf("\\");
gotoxy(55,20);
cprintf("\\");
gotoxy(56,21);
cprintf("\\");
textcolor(j+3);
gotoxy(24,21);
cprintf("-");
gotoxy(25,21);
cprintf("-");
gotoxy(26,21);
cprintf("-");
gotoxy(27,21);
cprintf("-");
gotoxy(28,21);
cprintf("-");
gotoxy(29,21);
cprintf("-");
gotoxy(30,21);
cprintf("-");
gotoxy(31,21);
cprintf("-");
gotoxy(32,21);
cprintf("-");
gotoxy(33,21);
cprintf("-");
gotoxy(34,21);
cprintf("-");
gotoxy(35,21);
cprintf("-");
gotoxy(36,21);
cprintf("-");
gotoxy(37,21);
cprintf("-");
gotoxy(38,21);
cprintf("-");
gotoxy(39,21);
cprintf("-");
gotoxy(40,21);
cprintf("-");
gotoxy(41,21);
cprintf("-");
gotoxy(42,21);
cprintf("-");
gotoxy(43,21);
cprintf("-");
gotoxy(44,21);
cprintf("-");
gotoxy(45,21);
cprintf("-");
gotoxy(46,21);
cprintf("-");
gotoxy(47,21);
cprintf("-");
gotoxy(48,21);
cprintf("-");
gotoxy(49,21);
cprintf("-");
gotoxy(50,21);
cprintf("-");
gotoxy(51,21);
cprintf("-");
gotoxy(52,21);
cprintf("-");
gotoxy(53,21);
cprintf("-");
gotoxy(54,21);
cprintf("-");
gotoxy(55,21);
cprintf("-");
int i;
textcolor(j+4);
for(i=21;i<=36;i++)
{
gotoxy(24,i);
cprintf("Þ");
}
for(i=21;i<=37;i++)
{
gotoxy(55,i);
cprintf("Þ");
}
for(i=20;i<=58;i++)
{
gotoxy(i,37);
cprintf("ßß");
}
textcolor(j+10);
for(i=28;i<=36;i++)
{
gotoxy(37,i);
cprintf("º");
}
gotoxy(37,28);
cprintf("É");
gotoxy(38,28);
cprintf("ÍÍÍÍÍÍ");
for(i=28;i<=36;i++)
{
gotoxy(43,i);
cprintf("º");
}
gotoxy(43,28);
cprintf("»");
for(i=37;i<=43;i++)
{
gotoxy(i,37);
cprintf("ß");
}
textcolor(j+2);
gotoxy(31,16);
cprintf("KENDRIYA VIDYALAYA");
gotoxy(28,25);
cprintf("ENTER PASSWORD :- ");
textcolor(j+4);
gotoxy(46,25);
cprintf("??????");
gotoxy(59,37);
cprintf("");
delay(150);
}
}
/***************************************************************************/
/*
? Ø ? É É É
Í Í Í Í Í ¶ ½ !%]|¾½¼
ä??‹‰?…•† º ¸ · µ
´ ³ ² ± ÃÇÊÌ?? þ ûø÷õð
?”“““…®®—‡œ??”””??BUVX+
È Í ÍÍ ¼ Í ÍÍ??
=;KG#*- »«»«»« » y#=^
Ø ? Ø ?
É ÍÍÍÍ Í ÍÍ Í Í»
?
=;KG#*-œ ?/L??
…‡„”?‚‘‰–»«»«»«»y#= ^
?€ € . LM [ \ ]_ œ Œ
çæÈ Ê Ë Þ á Ñ Ó ú î ¡ ž ‰ ™ ª ® ² Ã Ì S A TI\mJLN¥‘…™Ÿ¢¥ñîìë
!"#$%&'()*+, -------- ./?LIHEÌ Í ÎÏÑÒÓBA@PQRSTUVWXYZ
[\]^ÌÈÉÊËÆÇ(%4FIKM=>?O^oXczwn€
z‹‰s q ž ˆ ™ © « ¯ ± ² ³ ´¥ž™ • ½ ®¾½¼»º
¹ª¬ ® ¯ °±²³µÅà Ä
ÄÄÄÄÄÄÄÄ ÔÕÓÒÑÐÏÎͼËÊ É È Ç Æ ¶ ¦îæ×ÈÉÊË€nmkhVDBjÂÒâ
Ò Ñ? €. ZGFY
9K}yv ‰ Œ Ž ’“¥ ‰ ˜‚qa‘’££££Ã£ œ›˜™© ¼ » ¶•ƒ„óá ß éLM[\]_???
œ Œ Œ
!"#$%&'()*+,---. / 0123556789:;<=>?ON\[ZXVU
SRQPU?PVZ\NS?LK$3Q?1FD6E&]c´¥´±¯¬ª©«U&mYXWTSbr\]_n~
¾º¢? ???§?ªº»ÊËÌÍÎÏÈÆÅÃÁÀ
þêèçåãäÔÄÃÂÒÑÐàöùûüýÿþî Þ ßß ß ß ßßßß ßßßßß ÎÍÏ
ËÙæ?»˜…«Ÿ¢¢£½£ŽÄ¿¼º»¸¶ÏÔÔºÈ Þ ôº¾¿½»·
ò ß ÝÝ Û Û Û Ù÷ãÔÕ,+*(E7*()/N^]XYVUTSQ6D"#
*/
/*************************************************************************/
/**************************************************************************/
/***************************************************************************
DECLARATION OF WEL_MENU FUNCTION
***************************************************************************/
void menu::wel_menu()
{
clrscr();
b.box5();
textcolor(YELLOW);
delay(500);
gotoxy(32,8);
cprintf("W");
delay(50);
cprintf("E");
delay(50);
cprintf("L");
delay(50);
cprintf("C");
delay(50);
cprintf("O");
delay(50);
cprintf("M");
delay(50);
cprintf("E");
delay(50);
cout<<" ";
delay(50);
cprintf("T");
delay(50);
cprintf("O");
delay(50);
gotoxy(25,12);
delay(50);
cprintf("S");
delay(50);
cprintf("C");
delay(50);
cprintf("H");
delay(50);
cprintf("O");
delay(50);
cprintf("O");
delay(50);
cprintf("L");
delay(50);
cout<<" ";
delay(50);
cprintf("I");
delay(50);
cprintf("N");
delay(50);
cprintf("F");
delay(50);
cprintf("O");
delay(50);
cprintf("R");
delay(50);
cprintf("M");
delay(50);
cprintf("A");
delay(50);
cprintf("T");
delay(50);
cprintf("I");
delay(50);
cprintf("O");
delay(50);
cprintf("N");
delay(50);
cout<<" ";
delay(50);
cprintf("S");
delay(50);
cprintf("Y");
delay(50);
cprintf("S");
delay(50);
cprintf("T");
delay(50);
cprintf("E");
delay(50);
cprintf("M");
delay(100);
b.box4();
int j=1;
for(int i=1;i<=100;i++)
{
gotoxy(34,48);
textcolor(WHITE);
cprintf("Loading...");
if(j++!=3)
{
j=1;
cout<<"("<<i+1<<"%)";
}
else
cout<<"("<<i<<"%)";
if(i<=72)
{
gotoxy(2+i,48);
textbackground(BLACK);
textcolor(10);
cprintf("±±±±");
delay(50);
if(i<=69)
{
textcolor(2);
gotoxy(i+5,44);
cprintf("Þ");
delay(60);
}
}
if(i<=10 && i>=0)
{
textcolor(4);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if((i<=20) && (i>=10))
{
textcolor(WHITE);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if(i<=30 && i>=20)
{
textcolor(GREEN);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if(i<=40 && i>=30)
{
textcolor(5);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if(i<=50 && i>=40)
{
textcolor(BLUE);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if(i<=60 && i>=50)
{
textcolor(11);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if(i<=70 && i>=60)
{
textcolor(RED);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(30);
}
if(i<=80 && i>=70)
{
textcolor(14);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(80);
}
if(i<=90 && i>=80)
{
textcolor(GREEN);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(80);
}
if(i<=100 && i>=90)
{
textcolor(RED);
gotoxy(30,20);
cprintf(" P R O J E C T ");
gotoxy(25,24);
cprintf(" M A D E B Y : ");
gotoxy(25,28);
cprintf(" H I T E S H K U M A R ");
gotoxy(78,49);
cprintf("");
delay(80);
}
int j;
j=i+5;
if(j<=98)
{
textcolor(j);
gotoxy(32,8);
cprintf("WELCOME TO");
gotoxy(25,12);
cprintf("SCHOOL INFORMATION SYSTEM");
}
}
delay(50);
gotoxy(22,35);
textcolor(11);
cprintf("PRESS ANY KEY TO CONTINUE......... ");
getch();
gotoxy(22,40);
cprintf("PLEASE WAIT:-");
for(int l=40;l<=55;l++)
{
gotoxy(l,40);
cprintf(".");
delay(100);
}
stu.stu_menu();
}
/***************************************************************************
DECLARATIONS OF TIME FUNCTION
***************************************************************************/
void login::time()
{
time_t t;
// time(&t);
textcolor(GREEN);
gotoxy(15,11);
cprintf("Today's Day, Date & Time: ");
puts(ctime(&t));
}
/***************************************************************************
DECLARATIONS OF LOGIN FUNCTION
***************************************************************************/
void login::password()
{
char ch[6],ch1,temp;
int i;
pass:
b.box14();
textcolor(GREEN);
gotoxy(28,25);
cprintf("ENTER PASSWORD :- ");
textcolor(6);
textcolor(YELLOW);
gotoxy(46,25);
cprintf("??????");
gotoxy(46,25);
for(i=0;i<6;)
{
temp=getch();
if((temp>='a'|| temp>='A')&&(temp<='z' || temp>='Z'))
{
ch[i]=temp;
cprintf("*");
i++;
}
}
getch();
if((ch[0]=='h'|| ch[0]=='H') && (ch[1]=='i' || ch[1]=='I')
&& (ch[2]=='t' || ch[2]=='T') && (ch[3]=='e' || ch[3]=='E')
&& (ch[4]=='s' || ch[4]=='S') && (ch[5]=='h' || ch[5]=='H'))
{
clrscr();
gotoxy(18,30);
delay(100);
textcolor(11);
cprintf(" VARIFY YOUR PASSWARD PLEASE WAIT ");
gotoxy(25,25);
b.box11();
clrscr();
b.box13();
gotoxy(25,22);
textcolor(11);
delay(100);
cprintf("ENTER PASSWARD IS CORRECT");
textcolor(14);
gotoxy(25,26);
cprintf("PRESS ANY KEY TO LOGIN ");
}
else
{
clrscr();
gotoxy(22,30);
textcolor(11);
delay(100);
cprintf("VARIFY YOUR PASSWARD PLEASE WAIT");
gotoxy(22,20);
b.box11();
clrscr();
b.box13();
gotoxy(26,22);
textcolor(11);
cprintf("ENTER PASSWARD IS NOT CORRECT");
gotoxy(26,26);
textcolor(14);
cprintf("PRESS ANY KEY TO TRY AGAIN ");
getch();
clrscr();
goto pass;
}
getch();
m.wel_menu();
}
/***************************************************************************
DECLARATION OF MAIN FUNCTION
***************************************************************************/
void main()
{
clrscr();
//log.time();
log.password();
//stu.display_all();
//stu.add_menu();
//m.wel_menu();
//b.box6();
//b.box7();
//b.box4();
//b.box5();
//b.box7();
//b.box8();
//b.box9();
//b.box10();
//b.box11();
//b.box12();
//b.box14();
//stu.mark();
//stu.report();
getch();
}
For Documentation of this project drop a comment with your mail id, we provides full documentation soon........ as possible.
No comments :
Post a Comment