#include #include #include #include #include #include #include #include #include char pro[30],char1,char2,arrowstyle,ch,ans,reply,buffer[50],fname[10],fdate[10],ftime[10],old_dir[MAXPATH],curdir[MAXDIR],new_dir[MAXDIR]; long int price,salestax,warranty; int color, mcolor, deftext,arrowcol,backgrnd,flag,i,j,h,y,selectcolor,quantity,check,opt=0,len; struct feedo { char feedname[10],feeddate[10],feedtext[1000],feedtime[10]; }; struct themes { int tcol1, tcol2, tdefault,arrow,back,scolor; char tch1, tch2,style,themename[20]; }; struct customer { char name[20], address[50],product[9][40]; char date[9][9], time[9][9],phoneno[10]; int warr,count,qno[20],feedno; float tax,cost,total; }; struct prodata { char proname[30], category[20], about[301]; int proprice,protax,prowarranty,prono; }; class feed { feedo f1[10]; public: int feedno; feed() { feedno=1; } void feedback(); void feeddisp(); void feedread(); void feedwrite(); }feed1; class theme { public: int themeid; themes t1[10]; theme() { themeid=1; } void addtheme(); void writetheme(); void readtheme(); void help(); void deltheme(); void modifytheme(); void inittheme(); }theme1; class product { public: int proid; prodata p1[10]; product() { proid=1; } void addproduct(); void writeproduct(); void readproduct(); void delproduct(); void modproduct(); void viewproall(); void viewproselect(); void update(); }pro1; class group { private: int num,flag2,checkid; char cname[20],*strcheck,buffer[50]; public: customer per[10],trans[10]; int id,transno,sortid[20]; group() { id=-1; transno=0; } void add(); void display(); void write(); void read(); void reciept(); void printreciept(); void viewreciept(); void selectdisplay(); void edit(); void deleterec(); void delall(); void selection(); void sortide(); void sortname(); }grp; class tran : private group { private: int l,m; public: tran() { flag=1; } void viewall(); void printtrans(); void viewtoday(); void viewselect(); }trans1; class pass { private: ifstream passin,adminin; ofstream passout,adminout; char oldpass[9],*password,passcheck[9]; int b,len,toggle; public: pass() { toggle=0; } void changepass(); void rempass(); void checkpass(); void adminpass(); void admincheck(); }pass1; void line( char pc, int dir, int p1, int p2, int op ) { if(dir==0) { for ( i=p1; i<=p2; i ++) { gotoxy(i,op); putch(pc); } } else { for (j=p1; j<=p2; j ++) { gotoxy(op,j); putch(pc); } } } void rect(char pc, int x1,int y1,int x2,int y2) { line(pc,0,x1,x2,y1); line(pc,0,x1,x2,y2); line(pc,1,y1,y2,x1); line(pc,1,y1,y2,x2); } void menucreate() { window(1,1,80,25); textcolor(color); line(char1,0,5,75,2); line(char1,0,5,75,4); textcolor(mcolor); rect(char2,5,8,60,18); textcolor(deftext); } int drawmenu(char *name, char *opts[], char *info[],int num) { clrscr(); _setcursortype(_NOCURSOR); int choose; int hl=1,trail=1; char ct; window(1,1,80,25); clrscr(); menucreate(); window(1,1,80,25); gotoxy(32,3); cout<num) {hl=1;} goto tb; case 13: break; // 13 : ascii val. of enter key case 8: hl=-1; break; case 27: exit(0); default: window(1,22,50,25); cout<<"Use Arrow keys to scroll and Enter to select"; cout<<"\nPress Backspace to go to previous menu"; cout<<"\nPress escape to quit anytime."; getch(); clrscr(); goto tb; } window(1,1,80,25); _setcursortype(_NORMALCURSOR); return(hl); } void forreciept() { line('Û',0,37,45,4); line('Û',0,37,45,2); rect('Û',0,0,80,20); gotoxy(0,20); } void anime(char a[100]) { for(i=0;a[i]!='\0';i++) { putch(a[i]); delay(50); } } void input(char a[80]) { _setcursortype(_NORMALCURSOR); textcolor(0); len=strlen(a); textbackground(deftext); if(char1=='ß' || char1=='Ü' || char1=='Ý' || char1=='Û'||char1=='.') { gotoxy(18,10); putch('É'); for(i=0;i<42;i++) { putch('Í'); } putch('»'); gotoxy(18,11); putch('º'); for(i=0;i<4;i++) { putch(' '); } for(i=0;i>ans; textcolor(deftext); textbackground(0); } else { gotoxy(18,10); putch(' '); for(i=0;i<42;i++) { putch(char1); } putch(' '); gotoxy(18,11); putch(' '); putch(char1); for(i=0;i<3;i++) { putch(' '); } for(i=0;i>ans; textcolor(deftext); textbackground(0); } } void error(char a[50]) { len=strlen(a); _setcursortype(_NOCURSOR); textbackground(deftext); textcolor(0); if(char1=='ß' || char1=='Ü' || char1=='Ý' || char1=='Û'||char1=='.') { if(len<=20) { gotoxy(20,10); putch('É'); for(i=0;i<38;i++) { putch('Í'); } putch('»'); gotoxy(20,11); putch('º'); for(i=0;i<9;i++) { putch(' '); } for(i=0;i20 && len<=30) { gotoxy(20,10); putch('É'); for(i=0;i<38;i++) { putch('Í'); } putch('»'); gotoxy(20,11); putch('º'); for(i=0;i<7;i++) { putch(' '); } for(i=0;i=30) { gotoxy(20,10); putch('É'); for(i=0;i<44;i++) { putch('Í'); } putch('»'); gotoxy(20,11); putch('º'); for(i=0;i<3;i++) { putch(' '); } for(i=0;i20 && len<=30) { gotoxy(20,10); putch(char1); for(i=0;i<38;i++) { putch(char1); } putch(char1); gotoxy(20,11); putch(char1); for(i=0;i<7;i++) { putch(' '); } for(i=0;i=30) { gotoxy(20,10); putch(char1); for(i=0;i<44;i++) { putch(char1); } putch(char1); gotoxy(20,11); putch(char1); for(i=0;i<3;i++) { putch(' '); } for(i=0;i>ans; if(ans=='n'||ans=='N') { cout<<"\nEnter the directory where you would like to save all your data \n\n"; gets(new_dir); driveout2.open("drive.txt",ios::out); driveout2<>new_dir; drivein.close(); chdir(new_dir); } } void changedir() { clrscr(); ofstream driveout; current_directory(curdir); strcpy(old_dir,curdir); cout<<"\n"; printf("The current directory is %s\n", curdir); cout<<"\nAll previous data will be lost!"; cout<<"\n\nDo you want to change the directory ? "; cin>>ans; if(ans=='y'||ans=='Y') { chdir("c:\\windows"); driveout.open("drive.txt",ios::out); cout<<"\nEnter the folder where all the files will be saved."; cout<<"\nMake sure you dont change the drive."; cout<<"\n\n"; cout<<"\nEnter directory : "; gets(new_dir); error("Current directory has been changed!"); cout<<"\n\n\n\n"; check = chdir(new_dir); if(check==0) { } else { mkdir(new_dir); chdir(new_dir); } chdir("c:\\windows"); driveout<>deftext; cout<<"\nEnter the color code for title bar : "; cin>>color; cout<<"\nEnter the color code for menu bars : "; cin>>mcolor; cout<<"\nEnter the char style for title bar : "; cin>>char1; cout<<"\nEnter the char style for menu : "; cin>>char2; cout<<"\nEnter the selection color : "; cin>>backgrnd; cout<<"\nEnter the color for selected text : "; cin>>selectcolor; cout<<"\nEnter arrow style : "; cin>>arrowstyle; cout<<"\nEnter arrow color code : "; cin>>arrowcol; cout<<"\nPress enter to preview : "; getch(); clrscr(); menucreate(); input("Do you want to save this theme ?"); if(ans=='n'||ans=='N') { input("Do you want to make any changes?"); if(ans=='y'||ans=='Y') goto back; else { error("Theme not saved!"); ans='n'; } } if(ans =='y' || ans=='Y') { t1[themeid].tcol1=color; t1[themeid].tcol2=mcolor; t1[themeid].tdefault=deftext; t1[themeid].tch1=char1; t1[themeid].tch2=char2; t1[themeid].back=backgrnd; t1[themeid].style=arrowstyle; t1[themeid].scolor=selectcolor; t1[themeid].arrow=arrowcol; themeid++; writetheme(); error("Theme Created!"); getch(); } } void theme::help() { clrscr(); cout<<"\n\t\t\t\tColor Codes"; cout<<"\n\n\n\n BLACK -> 0"; cout<<"\t\t BLUE -> 1"; cout<<"\n\n GREEN -> 2"; cout<<"\t\t CYAN -> 3"; cout<<"\n\n RED -> 4"; cout<<"\t\t MAGENTA -> 5"; cout<<"\n\n BROWN -> 6"; cout<<"\t\t LIGHTGRAY -> 7"; cout<<"\n\n DARKGRAY -> 8"; cout<<"\t\t LIGHTBLUE -> 9"; cout<<"\n\n LIGHTGREEN -> 10"; cout<<"\t LIGHTCYAN -> 11"; cout<<"\n\n LIGHTRED -> 12"; cout<<"\t LIGHTMAGENTA -> 13"; cout<<"\n\n YELLOW -> 14"; cout<<"\t\t WHITE -> 15"; getch(); clrscr(); cout<<"\n\t\t\tASCII CHARACTER CODES : "; cout<<"\n\n\nÜ -> Alt+220"; cout<<"\n\nÞ -> Alt+222"; cout<<"\n\nÛ -> Alt+219"; cout<<"\n\nÝ -> Alt+221"; cout<<"\n\nß -> Alt+223"; cout<<"\n\n¯ -> Alt+2223"; getch(); } void product::writeproduct() { ofstream proout; proout.open("pro.dat" ,ios::binary); proout.write((char*)this, sizeof(*this)); } void product::readproduct() { ifstream proin; proin.open("pro.dat",ios::nocreate | ios::binary); if(proin) { proin.read((char*)this, sizeof(*this)); } } void product::update() { readproduct(); for(i=0;i>p1[proid].proprice; cout<<"\nEnter sales tax : "; cin>>p1[proid].protax; cout<<"\nEnter warranty period : "; cin>>p1[proid].prowarranty; cout<<"\nEnter the quantity : "; cin>>p1[proid].prono; cout<<"\nEnter about the product . Enter ~ and press enter to end"; cout<<"\n\n"; textcolor(deftext); for(i=0;i<300 ;i++) { p1[proid].about[i]=getchar(); if(p1[proid].about[i]=='~') { p1[proid].about[i]='\n'; getchar(); break; } } proid++; cout<<"\nProduct Added!"; } else if(j==1) { cout<<"\nProduct already exists. Quantity increased."; p1[i].prono++; } writeproduct(); getch(); window(1,1,80,25); clrscr(); } flag=1; } opt=0; } void product::viewproall() { flag=0; readproduct(); _setcursortype(_NOCURSOR); if(proid==1) { error("No Products Available!"); getch(); } else { clrscr(); for(i=1;i>ans; if(ans=='y' ||ans=='Y') { cout<<"\nEnter new price : "; cin>>p1[i].proprice; } cout<<"\nDo you want to change sales tax ? \n"; cin>>ans; if(ans=='y'||ans=='Y') { cout<<"\nEnter new sales tax : "; cin>>p1[i].protax; } cout<<"\nDo you want to change warranty period ? \n"; cin>>ans; if(ans=='y'||ans=='Y') { cout<<"\nEnter new warranty period : "; cin>>p1[i].prowarranty; } cout<<"\nDo you want to add more quantity? \n"; cin>>ans; if(ans=='y'||ans=='Y') { cout<<"\nQuantity available : "<>check; p1[i].prono = p1[i].prono+check; } break; } } if(flag!=0) { error("Product not found!"); getch(); } else { writeproduct(); cout<<"\nProduct Modified!"; getch(); } } } void product::delproduct() { char prodelname[30]; readproduct(); if(proid==1) { error("No Products Available!"); getch(); } else { clrscr(); cout<<"\nEnter the name of the product to be deleted : "; gets(prodelname); for(i=0;i=6) { window(60+flag*2,9+h,78,9+h); if(flag==1) { cout<<"Ý"; window(60,9+h+1,78,9+h+1); cout<<"Ý"; window(60,9+h+2,78,9+h+2); cout<<"Ý"; window(60,9+h,58,9+h); flag=0; gotoxy(3,1); } } if(h>=3 && h<6) { window(43+flag*2,12+h,58,12+h); if(flag!=1) { cout<<"Ý"; window(43,12+h+1,58,12+h+1); cout<<"Ý"; window(43,12+h+2,58,12+h+2); cout<<"Ý"; window(43+flag*2,12+h,58,12+h); flag=1; gotoxy(3,1); } } else if (h<3) window(24,15+h,39,15+h); cout<=6) { window(55,13+h,65,13+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(40+flag*2,16+h,50,16+h); if(flag!=1) { cout<<"Ý"; window(40,16+h+1,50,16+h+1); cout<<"Ý"; window(40,16+h+2,50,16+h+2); cout<<"Ý"; window(40+flag*2,16+h,50,16+h); flag=1; gotoxy(3,1); } } else if(h<3) window(25,19+h,35,19+h); cout<0) { m=small[i]; small[i]=large[j]; n=j; } } large[n] =m; sortid[i] = small[i]; small[n] = m; } cout<<"\nSorting Complete! Sorting Done by Name. \n\n\n\n\n\n\n\nPress Enter to view sorted records..."; write(); getch(); read(); display(); } } void group::sortide() { read(); if(id==-1) { error("No Records to display!"); getch(); } else { for(i=0;i<=id;i++) { sortid[i] =i; } write(); clrscr(); cout<<"\nSorting Successful! Records sorted by Customer ID. \n\n\n\n\n\n\nPress enter to view sorted records... "; getch(); read(); display(); } } void group::add() { flag=0; read(); quantity=0; pro1.update(); if(flag==0) { error("Product Out of Stock!"); getch(); opt=0; } else { clrscr(); flag=0; _strtime(trans[transno].time[0]); _strdate(trans[transno].date[0]); strcpy(trans[transno].product[0],pro); trans[transno].warr = warranty; trans[transno].cost = price; trans[transno].tax = salestax; trans[transno].total = price +salestax; cout<<"DATE : "<>quantity; if(quantity<=pro1.p1[i].prono) { pro1.update(); per[j].qno[num] = quantity; trans[transno].qno[0] =quantity; break; } else { cout<<" Product Out of Stock! Max. Possible Purchase = "<>quantity; if(quantity<=pro1.p1[i].prono) { pro1.update(); per[id].qno[0] = quantity; trans[transno].qno[0] = quantity; break; } else { cout<<" Product Out of Stock! Max. Possible Purchase = "<=6) { window(62,9+h,78,9+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(43+flag*2,12+h,58,12+h); if(flag!=1) { cout<<"Ý"; window(43,12+h+1,58,12+h+1); cout<<"Ý"; window(43,12+h+2,58,12+h+2); cout<<"Ý"; window(43+flag*2,12+h,58,12+h); flag=1; gotoxy(3,1); } } else if (h<3) window(24,15+h,39,15+h); cout<=6) { window(55,13+h,65,13+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(40+flag*2,16+h,50,16+h); if(flag!=1) { cout<<"Ý"; window(40,16+h+1,50,16+h+1); cout<<"Ý"; window(40,16+h+2,50,16+h+2); cout<<"Ý"; window(40+flag*2,16+h,50,16+h); flag=1; gotoxy(3,1); } } else if(h<3) window(25,19+h,35,19+h); cout<>checkid; for( j=0; j<=id;j++) { if(j==checkid-1) { clrscr(); num = per[j].count; clrscr(); textcolor(color); window(1,1,80,1); clrscr(); gotoxy(1,1); for(int i=0;i<80;i++) { cout<=6) { window(62,9+h,78,9+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(43+flag*2,12+h,58,12+h); if(flag!=1) { cout<<"Ý"; window(43,12+h+1,58,12+h+1); cout<<"Ý"; window(43,12+h+2,58,12+h+2); cout<<"Ý"; window(43+flag*2,12+h,58,12+h); flag=1; gotoxy(3,1); } } else if (h<3) window(24,15+h,39,15+h); cout<=6) { window(55,13+h,65,13+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(40+flag*2,16+h,50,16+h); if(flag!=1) { cout<<"Ý"; window(40,16+h+1,50,16+h+1); cout<<"Ý"; window(40,16+h+2,50,16+h+2); cout<<"Ý"; window(40+flag*2,16+h,50,16+h); flag=1; gotoxy(3,1); } } else if(h<3) window(25,19+h,35,19+h); cout<=6) { window(62,9+h,78,9+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(43+flag*2,12+h,58,12+h); if(flag!=1) { cout<<"Ý"; window(43,12+h+1,58,12+h+1); cout<<"Ý"; window(43,12+h+2,58,12+h+2); cout<<"Ý"; window(43+flag*2,12+h,58,12+h); flag=1; gotoxy(3,1); } } else if (h<3) window(24,15+h,39,15+h); cout<=6) { window(55,13+h,65,13+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(40+flag*2,16+h,50,16+h); if(flag!=1) { cout<<"Ý"; window(40,16+h+1,50,16+h+1); cout<<"Ý"; window(40,16+h+2,50,16+h+2); cout<<"Ý"; window(40+flag*2,16+h,50,16+h); flag=1; gotoxy(3,1); } } else if(h<3) window(25,19+h,35,19+h); cout<>checkid; for( j=0; j<=id;j++) { if(j==checkid-1) { clrscr(); num = per[j].count; clrscr(); textcolor(color); window(1,1,80,1); clrscr(); gotoxy(1,1); for(int i=0;i<80;i++) { cout<=6) { window(62,9+h,78,9+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(43+flag*2,12+h,58,12+h); if(flag!=1) { cout<<"Ý"; window(43,12+h+1,58,12+h+1); cout<<"Ý"; window(43,12+h+2,58,12+h+2); cout<<"Ý"; window(43+flag*2,12+h,58,12+h); flag=1; gotoxy(3,1); } } else if (h<3) window(24,15+h,39,15+h); cout<=6) { window(55,13+h,65,13+h); cout<<"Ý "; } else if(h>=3 && h<6) { window(40+flag*2,16+h,50,16+h); if(flag!=1) { cout<<"Ý"; window(40,16+h+1,50,16+h+1); cout<<"Ý"; window(40,16+h+2,50,16+h+2); cout<<"Ý"; window(40+flag*2,16+h,50,16+h); flag=1; gotoxy(3,1); } } else if(h<3) window(25,19+h,35,19+h); cout<>reply; if(reply=='y' || reply=='Y') { cout<<"\nEnter the new address : "; gets(per[check].address); } cout<<"\nDo you want to change phone no. ?"; cin>>reply; if(reply=='y' || reply=='Y') { cout<<"\nEnter the new phoneno.: "; gets(per[check].phoneno); } error("Record Edited!"); getch(); write(); } } } void tran::viewall() { read(); if(transno==0) { error("No transactions!"); getch(); } else { clrscr(); j=0; flag=0; _setcursortype(_NOCURSOR); for(m=0;m>toggle; adminin.close(); adminout.open("admin.txt",ios::out); if(toggle==0) { cout<<"\nAdmin password is currently turned OFF"; cout<<"\n\nWould you like to turn it ON? "; cin>>ans; if(ans=='y'||ans=='Y') { toggle=1; cout<<"\nAdmin Password is now ON!"; getch(); } flag=1; } if(toggle==1 && flag!=1) { cout<<"\nAdmin password in currently turned ON"; cout<<"\n\nWould you like to turn it OFF? "; cin>>ans; if(ans=='y'||ans=='Y') { toggle=0; cout<<"\nAdmin Password is now OFF!"; getch(); } } adminout<>oldpass; passin.close(); password = getpass("\nEnter the old password : "); strcpy(passcheck,password); len = strlen(oldpass); for(i=0;i>toggle; if(toggle==0) { adminin.close(); } if(toggle==1) { adminin.close(); passin.open("password.txt",ios::in); if(!passin) { passin.close(); } else { passin>>oldpass; passin.close(); len = strlen(oldpass); for(i=0;i>oldpass; passin.close(); len = strlen(oldpass); for(i=0;i>oldpass; passin.close(); len = strlen(oldpass); for(i=0;i>opt; color = theme1.t1[opt].tcol1; mcolor = theme1.t1[opt].tcol2; deftext = theme1.t1[opt].tdefault; char1 = theme1.t1[opt].tch1; char2 = theme1.t1[opt].tch2; arrowcol = theme1.t1[opt].arrow; backgrnd = theme1.t1[opt].back; arrowstyle = theme1.t1[opt].style; selectcolor = theme1.t1[opt].scolor; themefilein.close(); textcolor(deftext); window(1,1,80,25); clrscr(); cout<<"\n þ-þ-þ-þ-þ-þ-"; cout<<"\n || þ-þ-þ-þ- þ-þ-þ-þ- || || "; cout<<"\n || || || || || "; cout<<"\n || ||þ- || ||þ-þ-||"; cout<<"\n || || || || ||"; cout<<"\n || þ-þ-þ-þ- þ-þ-þ-þ- || ||"; cout<<"\n\n\n || || ||"; cout<<"\n || || || þ-þ-þ þ-þ-þ- || þ-þ-þ-"; cout<<"\n || || || || || || || || || || "; cout<<"\n || || || || || ||þ-þ- || || || "; cout<<"\n || || || || || ||þ-þ- || || || "; cout<<"\n þ-þ-þ- þ-þ-þ þ-þ-þ || || þ-þ-þ þ-þ-þ-"; cout<<"\n\n\t\t\t\tBETA VERSION"; _setcursortype(_SOLIDCURSOR); cout<<"\n\nWelcome ! Press Enter to continue ..."; getch(); textcolor(deftext); window(1,1,80,25); clrscr(); char item[20]; int i=0; pass1.checkpass(); clrscr(); initdir(); grp.read(); while(opt!=7) { main: clrscr(); char *opte[] = {"Registration", "Customer Log","Transaction History","Product Store","Adminstrator","Help and Credits","Exit"}; char *info[] ={"Register a new customer","Viewing, editing and deleting of customer data","Transaction records with date and time ","View,add, modify and remove products","Change Administrator settings","Seek help and view credits","Quit Program"}; opt = drawmenu("Main Menu",opte,info, 7); if(opt==7) { exit(0); } if(opt==1) { while(opt!=-1) { clrscr(); opte[0] ="Personal Computers"; opte[1] ="Computer Periperhals"; opte[2] ="Softwares & Games"; info[0] = "PC's available"; info[1] = "Computer parts available"; info[3] = "Softwares and games available"; opt = drawmenu("Choose Item",opte,info,3); if(opt==1) { flag=0; pro1.readproduct(); j=0; for(i=0;i>opt; color = theme1.t1[opt].tcol1; mcolor = theme1.t1[opt].tcol2; deftext = theme1.t1[opt].tdefault; char1 = theme1.t1[opt].tch1; char2 = theme1.t1[opt].tch2; arrowstyle = theme1.t1[opt].style; arrowcol = theme1.t1[opt].arrow; backgrnd = theme1.t1[opt].back; selectcolor = theme1.t1[opt].scolor; themefilein.close(); textcolor(deftext); } } } opt=0; } } } opt=0; } } } } if(opt==4) { while(opt!=-1) { opte[0] = "Add Product "; opte[1] = "View all products"; opte[2] = "Modify Product"; opte[3] = "Remove Product"; info[0] = "Add a new product"; info[1] = "Display all the products available for sale"; info[2] = "Change the price and other variables of product"; info[3] = "Delete Product"; opt = drawmenu("Product Store",opte,info,4); if(opt==1) { pro1.addproduct(); } if(opt==2) { pro1.viewproall(); } if(opt==3) { pro1.modproduct(); } if(opt==4) { pro1.delproduct(); } } } if(opt==7) { exit(0); } if(opt==6) { clrscr(); gotoxy(30,3); _setcursortype(_NOCURSOR); cout<<"°°°°° HELP °°°°°"; cout<<"\n\n\n"; anime("Use 'Arrow keys' to scroll through the menu options "); cout<<"\n"; anime("Press 'Enter' to select"); cout<<"\n"; anime("Press 'Backspace' key anytime to go to the previous menu"); cout<<"\n"; anime("Press 'Esc' key in menu to quit anytime."); cout<<"\n\n\n"; _setcursortype(_NORMALCURSOR); cout<<"Press Enter to view credits..."; clrscr(); gotoxy(30,3); cout<<"°°°°° CREDITS °°°°°"; _setcursortype(_NOCURSOR); cout<<"\n\n\n"; anime("This project was coded and compiled by Ankit Ahuja of Class XII E"); cout<<"\n"; anime("I would like to thank Mrs. Vaishali Lamba, my computer teacher, for encouragement and explanation on the various topics"); cout<<"\n"; anime("I would also like to thank Sameer for helping me in debugging the program of certain errors :)"); cout<<"\n\n"; anime("Hope you liked the project!"); _setcursortype(_NORMALCURSOR); getch(); } } }