This document is a project report submitted by Pranav Ghildiyal of class XII B at Kendriya Vidyalaya B.E.G. for the 2013-2014 session. The project involves creating a C++ program to manage a shopping store database using classes and file handling. The report includes an acknowledgements section, certificate, table of contents, explanation of header files used, the coding of the program, limitations, requirements, and bibliography.
An organized and systematic office solution is essential for all universities and organizations. There are many departments of administration for the maintenance of college information and student databases in any institution. All these departments provide various records regarding students. Most of these track records need to maintain information about the students. This information could be the general details like student name, address, performance, attendance etc or specific information related to departments like collection of data. All the modules in college administration are interdependent. They are maintained manually. So they need to be automated and centralized as, Information from one module will be needed by other modules. For example when a student needs his course completion certificate it needs to check many details about the student like his name, reg number, year of study, exams he attended and many other details. So it needs to contact all the modules that are office, department and examination and result of students.
While doing a PPT presentation we have to keep in mind that the slides should be well arranged and don't describe too many unnecessary things in that. Because most of us only watch that by the pictures they don't like reading bullshit articles. This presentation is about how a software can help a library, from student databases to the prizes of books and other thing can be included there too. So don't be bother any more if you are a librarian then you must have a computer and if a software is installed it that like this then surely it's going to help you in your busy schedule. I have done that in past for my college seminar project for my college last year. The mentor and juries liked that so much. Just think about this, May be you could make lot changes in that for future. If i have spoke something wrong then plz forgive me.Good Luck bye...
in C++ console application, It Help you to find out how design library Management system.
This mini project in C++ Library Management System is a console application without graphic developed using the C++ programming language. It is compiled in Code::Blocks and DEV C++ with the GNU compiler. In this, you can perform book-related operations like in a REAL library management system with computer.
Here, you can perform functions such as add books, return books, issue books, delete record of books issued, view record of books issued, search for books, and more. File handling has been extensively used in this project for almost all functions. So, this project can definitely guide you to understand C++ mini projects in a better way.
The source code is organized well, and it has multiple comment lines to help you understand the project better.
For library management, this project considers six departments – Computer, Electrical, Civil, Mechanical, Chemical and BioChemistry. These departments work simultaneously with the operations mentioned above.
These are the functions used in this mini project:
void mainmenu(void) – This function is used to display the main menu of this project. Scroll down to Output to view the main menu.
void returnfunc(void) – Inside this function, the main menu function (mentioned above) is called when the user presses a key. With this, the user can return back to the main menu.
void addbooks(void) – This function adds books in a file. For that, you need to mention the department to which you want to add the book.
An organized and systematic office solution is essential for all universities and organizations. There are many departments of administration for the maintenance of college information and student databases in any institution. All these departments provide various records regarding students. Most of these track records need to maintain information about the students. This information could be the general details like student name, address, performance, attendance etc or specific information related to departments like collection of data. All the modules in college administration are interdependent. They are maintained manually. So they need to be automated and centralized as, Information from one module will be needed by other modules. For example when a student needs his course completion certificate it needs to check many details about the student like his name, reg number, year of study, exams he attended and many other details. So it needs to contact all the modules that are office, department and examination and result of students.
While doing a PPT presentation we have to keep in mind that the slides should be well arranged and don't describe too many unnecessary things in that. Because most of us only watch that by the pictures they don't like reading bullshit articles. This presentation is about how a software can help a library, from student databases to the prizes of books and other thing can be included there too. So don't be bother any more if you are a librarian then you must have a computer and if a software is installed it that like this then surely it's going to help you in your busy schedule. I have done that in past for my college seminar project for my college last year. The mentor and juries liked that so much. Just think about this, May be you could make lot changes in that for future. If i have spoke something wrong then plz forgive me.Good Luck bye...
in C++ console application, It Help you to find out how design library Management system.
This mini project in C++ Library Management System is a console application without graphic developed using the C++ programming language. It is compiled in Code::Blocks and DEV C++ with the GNU compiler. In this, you can perform book-related operations like in a REAL library management system with computer.
Here, you can perform functions such as add books, return books, issue books, delete record of books issued, view record of books issued, search for books, and more. File handling has been extensively used in this project for almost all functions. So, this project can definitely guide you to understand C++ mini projects in a better way.
The source code is organized well, and it has multiple comment lines to help you understand the project better.
For library management, this project considers six departments – Computer, Electrical, Civil, Mechanical, Chemical and BioChemistry. These departments work simultaneously with the operations mentioned above.
These are the functions used in this mini project:
void mainmenu(void) – This function is used to display the main menu of this project. Scroll down to Output to view the main menu.
void returnfunc(void) – Inside this function, the main menu function (mentioned above) is called when the user presses a key. With this, the user can return back to the main menu.
void addbooks(void) – This function adds books in a file. For that, you need to mention the department to which you want to add the book.
Virtual beacons are a budget friendly alternative to physical beacons, such as iBeacon or Eddystone beacons. They work using the location services on mobile or wearable devices - virtual beacon is tied to a GPS coordinate with given range, which is less accurate than with physical beacons (approx. 200m).
Online Book Store Project Presentation by Moin Khan & Sejda E JannatSejdaEJannat
The main objective of the project is to create an online book store that allows users to search and purchase a book based on title and category. The selected books are displayed in a tabular format and the user can order their books online and payment is done through cash on delivery. The administrator will have additional functionalities when compared to the common user.
This Presentation targets towards presenting a new Advanced Online Web Library Management System. It includes all the essential points to present a Library Management to any professional organization.
This project is useful for BCA, MSCIT and class XII students.It is useful for generating report cards of student on the basis of marks enter by the user.
project of c++ of student report card managment (This is an automated software system written in C++ programming language for Student Performance management system which is used to store records various information about the students and books details.)(thanks)
Virtual beacons are a budget friendly alternative to physical beacons, such as iBeacon or Eddystone beacons. They work using the location services on mobile or wearable devices - virtual beacon is tied to a GPS coordinate with given range, which is less accurate than with physical beacons (approx. 200m).
Online Book Store Project Presentation by Moin Khan & Sejda E JannatSejdaEJannat
The main objective of the project is to create an online book store that allows users to search and purchase a book based on title and category. The selected books are displayed in a tabular format and the user can order their books online and payment is done through cash on delivery. The administrator will have additional functionalities when compared to the common user.
This Presentation targets towards presenting a new Advanced Online Web Library Management System. It includes all the essential points to present a Library Management to any professional organization.
This project is useful for BCA, MSCIT and class XII students.It is useful for generating report cards of student on the basis of marks enter by the user.
project of c++ of student report card managment (This is an automated software system written in C++ programming language for Student Performance management system which is used to store records various information about the students and books details.)(thanks)
Number conversion program in assembly language
This program is showing the conversion technique of a 8-bit number and character.
programminghomeworkhelp.com is the leading online solution provider for C++ Programming assignments. If you are struggling with your scoring in C++ Programming Assignments, Homework or Projects then email your requirements at info@programminghomeworkhelp.com and we will ensure excellent grades. Email your C++ assignment to info@programminghomeworkhelp.com and distress yourself from the complex C++ Programming Assignments.
Lab Assignment 4 CSE330 Spring 2014 Skeleton Code for ex.docxMARRY7
/* Lab Assignment 4 CSE330 Spring 2014 */
/* Skeleton Code for ex0 of lab4 */
/* No code will be provided for ex1 of lab4 */
#include <stdio.h> /* for NULL */
#include <ctype.h> /* for atoi() */
#include <errno.h> /* for perror() */
#include <signal.h> /* for sigvec() etc. */
#include <sys/types.h> /* for <arpa/inet.h> */
#include <sys/socket.h> /* for PF_INET, etc. */
#include <netinet/in.h> /* for struct sockaddr_in */
#include <arpa/inet.h> /* for inet_addr() */
#include <sys/time.h>
#include "lab4.h"
/* this is in netinet/in.h; included here for reference only.
struct sockaddr_in {
short sin_family;
u_short sin_port;
struct in_addr sin_addr;
char sin_zero[8];
};
*/
/***************************************************************************/
#define LINESIZE 80
#define TYPE0TIMEOUT 3
#define TYPE1TIMEOUT 30
/* You should give a long timeout, like 30sec, otherwise */
/* duplicated responses from the server may cause some problem */
#define MAXRETRY 3
/***************************************************************************/
static char *RCSId="$Id: client2.c,v 4 2014/04/20 03:15:07 cse3300 Exp $";
/***************************************************************************/
/* some functions you may find useful if you implement them */
extern int stringToAddress(char *s, struct sockaddr_in *a);
extern int msgok(LABMSG *);
extern u_short msgchecksum(u_short *);
extern void alarmCatcher(void);
extern int tries; /* for retransmission routines */
int numtries;
/***** this will die ****/
FILE *logFile;
void die(char *s)
{
perror(s);
exit(2);
}
void startTimer(int secs)
{
alarm(secs);
}
void stopTimer(void)
{
alarm(0);
}
/* should change it by yourself if needed!!! */
void printResponse(LABMSG *mp, int ck)
{
int type;
mp->courseEtc = ntohs(mp->courseEtc);
type = ( (mp->courseEtc & MESSAGETYPE) !=0)?1:0;
printf("course=%d, Type=%d\n", mp->courseEtc&0x3fff,type);
if (ntohl(mp->cookie) != ck)
printf("Cookies don't match: sent %x received %x\n",mp->cookie,ck);
if (mp->courseEtc & REQRESP)
printf("response ");
else {
printf("request??\n");
return;
}
mp->result = ntohs(mp->result);
/*printf(" result = %x: ",mp->result);*/
if (mp->result&TRANSOUTCOME) { /* Check outcome */
printf("error: ");
switch (mp->result & 0x7fff) {
case ERROR_CHECKSUM:
printf("checksum failure\n");
break;
case ERROR_SYNTAX:
printf("syntax error\n");
break;
case ERROR_UNKSSN:
printf("unknown SSN %d\n", ntohl(mp->reqSSN) );
break;
case ERROR_SERVER:
printf("Unspecified Server Error\n");
default:
printf("Unknown Error.\n");
} /* case switch */
} else { /* successful transaction */
if(type)printf("Test succeeded.");
if (!type) /* Type 0 -- print SSN and Response */
printf(": %d -> %d\n", ntohl(mp->reqSSN), mp->result&0x7fff);
else
printf("\n"); /* XXX print number of responses */
}
}
/*-----------------------------------*/
/* added by ZXC:
this fun ...
Instruction1. Please read the two articles. (Kincheloe part 1 &.docxcarliotwaycave
Instruction:
1. Please read the two articles. (Kincheloe part 1 & 2)
2. Please choose some of the topics covered in each chapter, provide a brief summary (2-3 sentences) of those topics.
3. Then add your reflections, insights, or relevant experiences, etc. to help illustrate or expand upon the course.
4. This journal should be at least 400 words.
p5-start.cppp5-start.cpp/**
* @author Jane Student
* @cwid 123 45 678
* @class CSci 430, Spring 2018
* @ide Visual Studio Express 2010
* @date November 15, 2018
* @assg prog-04
*
* @description This program implements a simulation of process
* scheduling policies. In this program, we implement round-robin
* scheduling, where the time slice quantum can be specified as
* as a command line parameter. And we also implement shortest
* remaining time (SRT) scheduling policy
*/
#include<stdlib.h>
#include<iostream>
#include<iomanip>
#include<fstream>
#include<string>
#include<list>
usingnamespace std;
// global constants
// I won't test your round robin implementation with more than 20 processes
constint MAX_PROCESSES =20;
constint NO_PROCESS =0;
// Simple structure, holds all of the information about processes, their names
// arrival and service times, that we are to simulate.
typedefstruct
{
string processName;
int arrivalTime;
int serviceTime;
// holds running count of time slices for current time quantum, when
// serviceTime == quantum, time slice is up
int sliceTime;
// holds total number of time steps currently run, when == to
// serviceTime process is done
int totalTime;
// holds time when process finishes, used to calculate final stats,
// like T_r, T_r/T_s
int finishTime;
// a boolean flag, we will set this to true when the process is complete
bool finished;
}Process;
// Process table, holds table of information about processes we are simulating
typedefstruct
{
int numProcesses;
Process* process[MAX_PROCESSES];
}ProcessTable;
/** Create process table
* Allocate memory for a new process table. Load the process
* information from the simulation file into a table with the process
* information needed to perform the simulation. At the same time we
* initialize other information in process table for use in the
* simulation. Return the newly created ProcessTable
*
* @param processFilanem The name (char*) of the file to open and read
* the process information from.
* @param processTable This is actually a return parameter. This
* should be a pointer to an already allocated array of
* Process structure items. We will fill in this structure
* and return the process information.
*
* @returns ProcessTable* The newly allocated and initialized ProcessTable
* structure.
*/
ProcessTable* createProcessTable(char* processFilename)
{
ifstream simprocessfile(processFilename);
ProcessTable* processTable;
int pid;
string processName;
int arrivalTime;
int serviceTime;
// If we can't open file, abort and let ...
/***********************************************************
Program Name: Simple Math Calculator
Program Author: Kyle NoCompile
Date Created: 9/28/14
Program Description:
This program performs simple arithmetic calculations.
The user enters numbers and the math operation to
perform on those numbers. The program will then display
the result of the operation. The program allows the
user to continue entering a math operation and an
integer to calculate off of the previous calculation
result.
Modified Date:
Modified Description:
***********************************************************/
#include <iostream>
using namespace std;
// Function prototypes:
void showWelcome(void);
int getUserIntegerInput();
char getMathChoice()
int getInteger(bool);
bool validateMathChoice(char choice)
int doAddition(int int1, int int2);
int doSubtraction(int, int);
int doMath(int firstInt, int secondInt, char mathFunc);
void showResult(int)
float keepCalculating();
// This is the main function (where the program begins)
int main(void)
{
// Variables to hold local data
int runningTotal; nextValue;
int mathChoice();
bool keepGoing;
// Call the showWelcome() function
showWelcome(void);
// Call the getInteger() function (for the first integer)
// and store the result in the "runningTotal" variable
runningTotal = GetInteger(true);
// Loop after each calculation to see if the user wants to keep going
do
{
// Call the getMathChoice() function and store result in "mathChoice" variable
mathChoice = getMathChoice(42);
// Call validateMathChoice() function, passing it the user's math choice
// and using the return value to decide what to do next
if (validateMathChoice())
{
// Call the getInteger() function (for the second and subsequent integers)
// and store the result in the "nextValue" variable
nextValue = getInteger(false);
// Call the doMath() function and pass it all of the user input
// and store the return value in the "runningTotal" variable (overwrite
// previous "runningTotal" variable value. This will allow for us to
// update the running total of all calculations up to this point.
runningTotal = doMath(runningTotal nextValue mathChoice);
// Call the showResult() function to show the result
showResult(runningTotal);
}
else
{
// If the user chose an invalid math function...
cout<<Not a valid math choice. Try again<<endl;
}
}
// Call the keepCalculating() function and use the return value
// to decide whether to continue looping
while (keepCalculating);
return 0;
}
// This function shows a nice welcome message
void showWelcome()
{
cout<<"******************************************"<<endl;
cout<<"Welcome to the simple calculator program!"<<endl;
cout<<"This program will do simple addition and"<<endl
cout<<"subtraction. Math is fun, so enjoy!"<<endl;
cout<<"**.
Just Click on Below Link to Download This Course:
https://www.devrycoursehelp.com/product/devry-gsp-115-week-3-assignment-latest/
DeVry GSP 115 Week 3 Assignment latest
Week 3: Loops and Branching
Instructions
Complete the following assignments. Copy and paste your finished code into a Word document, clearly identifying which assignment it is. Also, capture the output of the program and paste that into the Word document. If there are questions to be answered, put the answers after the output. When you complete all three of this week’s assignments, save the document as yourLastName_GSP115_W3_Assignments.docx.Submit it to the Week 3 assignment Dropbox.
A local plugin wich monitors PostgreSQL extracting information using an external configuration file and the software already installed on the system to monitor. For more information visit the following webpage: http://pandorafms.com/index.php?sec=Library&sec2=repository&lng=en&action=view_PUI&id_PUI=552
3. Acknowledgement
I thank my Computer Science teacher Mr.
Murli Manohar for guidance and support. I also
thank my Principal Ms. N. Geeta Rao. I would
also like to thank my parents for encouraging
me during the whole course of this project.
Finally I would like to thank CBSE for giving
me such opportunity to undertake this esteem
project.
3
4. Certificate
This is to certify that PRANAV
GHILDIYAL of class XII B, KENDRIYA
VIDYALAYA B.E.G has successfully completed
his project in computer practicals for the
AISSCE as prescribed by CBSE FOR the year
2013-2014.
Date :
Signature of Internal
Examiner
Signature of External
Examiner
__________________
__________________
4
5. HEADER FILES USED
AND THEIR PURPOSE
1.
CONIO.H
- for clrscr(), getch() functions
2.
STDIO.H
- Standard I/O Operations
3.
PROCESS.H
- for exit() function
4.
FSTREAM.H - for data file handling operations
5.
STDLIB.H
- for random() function
5
8. //***************************************************************
//
HEADER FILE USED IN PROJECT
//****************************************************************
#include<conio.h>
#include<stdio.h>
#include<process.h>
#include<fstream.h>
#include<stdlib.h>
//***************************************************************
//
CLASSES USED IN PROJECT
//****************************************************************
class product
{ int pno;
char name[30];
float price;
public:
void create_product()
{
cout<<"n Please Enter The Product No. of The Product : ";
cin>>pno;
cout<<"nn Please Enter The Name of The Product : ";
gets(name);
cout<<"n Please Enter The Price of The Product : ";
cin>>price;
}
void show_product()
{
cout<<"n The Product No. of The Product : "<<pno;
cout<<"n The Name of The Product : ";
puts(name);
cout<<"n The Price of The Product : "<<price;
}
int retpno() { return pno; }
float retprice() { return price; }
char* retname() { return name; }
};
// End Of Class
//***************************************************************
//
global declaration for stream object, object
//****************************************************************
fstream fp;
product pr;
//***************************************************************
//
function to write in file
//****************************************************************
void write_product()
{
fp.open("Shop.dat",ios::app);
pr.create_product();
fp.write((char*)&pr,sizeof(product));
fp.close();
cout<<"nn The Product Has Been Created ";
getch();
8
9. }
//***************************************************************
//
function to read all records from file
//****************************************************************
void display_all()
{
clrscr();
cout<<"nnntt DISPLAY ALL RECORD !!!nn";
fp.open("Shop.dat",ios::in);
while(fp.read((char*)&pr,sizeof(product)))
{
pr.show_product();
cout<<"nn====================================n";
getch();
}
fp.close();
getch();
}
//***************************************************************
//
function to read specific record from file
//****************************************************************
void display_sp(int n)
{
int flag=0;
fp.open("Shop.dat",ios::in);
while(fp.read((char*)&pr,sizeof(product)))
{
if(pr.retpno()==n)
{
clrscr();
pr.show_product();
flag=1;
}
}
fp.close();
if (flag==0)
cout<<"nn record not exist";
getch();
}
//***************************************************************
//
function to modify record of file
//****************************************************************
void modify_product()
{
int no, found=0;
clrscr();
cout<<"nnt To Modify ";
cout<<"nnt Please Enter The Product No. of The Product";
cin>>no;
fp.open("Shop.dat",ios::in|ios::out);
while(fp.read((char*)&pr,sizeof(product)) && found==0)
{
if(pr.retpno()==no)
9
10. {
pr.show_product();
cout<<"n Please Enter The New Details of Product"<<endl;
pr.create_product();
int pos=-1*sizeof(pr);
fp.seekp(pos,ios::cur);
fp.write((char*)&pr,sizeof(product));
cout<<"nnt Record Updated";
found=1;
}
}
fp.close();
if(found==0)
cout<<"nn Record Not Found ";
getch();
}
//***************************************************************
//
function to delete record of file
//****************************************************************
void delete_product()
{ int no;
clrscr();
cout<<"nnnt Delete Record";
cout<<"nn Please Enter The product no. of The Product You Want To Delete";
cin>>no;
fp.open("Shop.dat",ios::in|ios::out);
fstream fp2;
fp2.open("Temp.dat",ios::out);
fp.seekg(0,ios::beg);
while(fp.read((char*)&pr,sizeof(product)))
{
if(pr.retpno()!=no)
{
fp2.write((char*)&pr,sizeof(product));
}
}
fp2.close();
fp.close();
remove("Shop.dat");
rename("Temp.dat","Shop.dat");
cout<<"nnt Record Deleted ..";
getch();
}
//***************************************************************
//
function to display all products price
list //****************************************************************
void menu()
{
clrscr();
fp.open("Shop.dat",ios::in);
if(!fp)
{
10
11. cout<<"ERROR!!! FILE COULD NOT BE OPENnnn Go To Admin Menu to
create File";
cout<<"nnn Program is closing ....";
getch();
exit(0);
}
cout<<"nntt Product MENUnn";
cout<<"====================================================n";
cout<<"P.NO.tt NAMEttt PRICEn";
cout<<"====================================================n";
while(fp.read((char*)&pr,sizeof(product)))
{
cout<<pr.retpno()<<"tt"<<pr.retname()<<"tt"<<pr.retprice()<<endl;
}
cout<<"====================================================n";
fp.close();
}
//***************************************************************
//
function to generate discount
//****************************************************************
void disc_app(int total)
{
randomize();
int disc=0, tbpamt=total, rnum2=0;
int SPNUM[9]= { 1,5,6,13,29,43,73,91,96};
if (total < 1000)
cout<<” n n Amount to be paid after discount : - Rs. "<<tbpamt;
if (total >=1000)
{
if ((total%2 ==1) && (total %5 ==0))
disc =random (90);
tbpamt = total - ((disc*total)/100);
cout<<" n n Amount to be paid after discount : - Rs. "<<tbpamt;
}
else
{
rnum2= random(SPNUM[9]);
if ( (rnum2 == 1) ||(rnum2 == 6) || (rnum2 ==29) )
tbpamt = total - (0.25*total);
else if ( (rnum2 == 5) ||(rnum2 == 13) || (rnum2 ==91) )
tbpamt = total - (0.5*total);
else if ( (rnum2 == 43) ||(rnum2 == 73) || (rnum2 ==96) )
tbpamt = total - (0.3*total);
cout<<"nn Amount to be paid after discount"<<tbpamt;
}
getch();
}
//***************************************************************
//
function to place order and generating bill for Products
11
12. //****************************************************************
void place_order()
{
int order_arr[50],quan[50],c=0, ic = 0;
float amt,total=0;
char ch='Y';
menu();
cout<<"nn";
cout<<"n PLACE YOUR ORDER";
cout<<"nnnn";
do{
cout<<"nn Enter The Product No. Of The Product : ";
cin>>order_arr[c];
cout<<"Quantity in number : ";
cin>>quan[c], ic +=quan[c];
c++;
cout<<"Do You Want To Order Another Product ? (y/n)";
cin>>ch;
}while(ch=='y' ||ch=='Y');
cout<<"nnThank You For Placing The Order";
getch();
clrscr();
cout<<"nnn";
cout<<"nn********************************INVOICE*******************
*****n";
cout<<"Pr No.t Pr Namett Quantity t Price t Amountn";
cout<<"**************************************************************
*n";
for(int x=0;x<=c; x++)
{
fp.open("Shop.dat",ios::in);
fp.read((char*)&pr,sizeof(product));
while(!fp.eof())
{
if(pr.retpno()==order_arr[x])
{
amt=pr.retprice()*quan[x];
cout<<"n"<<order_arr[x]<<"t"<<pr.retname()<<"t"<<quan[x]<<"tt"<<pr.retprice(
)<<"t"<<amt;
total+=amt;
}
fp.read((char*)&pr,sizeof(product));
}
fp.close();
}
12
13. cout<<"n"<<"*********************************************************
******";
cout<<"n Items count:-"<<ic<<"tttt"<<"Bill Amount:-"<<total;
getch();
disc_app(total);
}
//***************************************************************
//
INTRODUCTION FUNCTION
//****************************************************************
void intro()
{
clrscr();
gotoxy(30,15);
cout<<"n======================================================
=======";
cout<<"n"<<"|"<<" Welcome to purchase corner of Shopping Mall
|";
cout<<"n"<<"|"<<" MADE BY : Pranav & Kausal
|";
cout<<"n"<<"|"<<" SCHOOL : Kendriya Vidyalaya B.E.G.
|";
cout<<"n"<<"==================================================
===========";
getch();
}
//***************************************************************
//
ADMINSTRATOR MENU FUNCTION
//****************************************************************
void admin_menu()
{
clrscr();
char ch2;
cout<<"###############################################";
cout<<"nnnt ADMINISTRATOR MENU";
cout<<"nnt1.CREATE PRODUCT";
cout<<"nnt2.DISPLAY ALL PRODUCTS";
cout<<"nnt3.QUERY ";
cout<<"nnt4.MODIFY PRODUCT";
cout<<"nnt5.DELETE PRODUCT";
cout<<"nnt6.VIEW PRODUCT MENU";
cout<<"nnt7.BACK TO MAIN MENU";
cout<<"nnt Please Enter Your Choice (1-8) ";
cout<<"n################################################";
ch2=getche();
cout<<"###############################################";
switch(ch2)
{
case '1': clrscr();
write_product();
break;
case '2': display_all();break;
13
14. case '3':
int num;
clrscr();
cout<<"nnt Please Enter The Product No. ";
cin>>num;
display_sp(num);
break;
case '4': modify_product();break;
case '5': delete_product();break;
case '6': menu();
getch();
case '7': break;
default: cout<<"a";admin_menu ();
}
}
//***************************************************************
//
THE MAIN FUNCTION OF PROGRAM
//****************************************************************
void main()
{
char ch;
intro();
do
{
clrscr();
cout<<"nnnt MAIN MENU";
cout<<"nnt01. CUSTOMER";
cout<<"nnt02. ADMINISTRATOR";
cout<<"nnt03. EXIT";
cout<<"nnt Please Select Your Option (1-3) ";
ch=getche();
switch(ch)
{
case '1': clrscr();
place_order();
getch();
break;
case '2': admin_menu();
break;
case '3':exit(0);
default :cout<<"a";
}
}while(ch!='3');
}
14
15. REQUIREMENTS
SOFTWARE REQUIRED
Operating system : Windows XP or later
Turbo C++, for execution of program and
MS Office, for presentation of output.
DISCLAIMER :I HAVE ALSO MADE THIS PROJECT
TAKING HELP FROM INTERNET
I EXPREE MY REGARDS WHO ARE
ACTUALLY BEHIND THIS PROJECT. I
HAVE UPLOADED THIS ONLY SO
THAT MORE PEOPLE CAN TAKE HELP
FROM THIS UPLOAD THROUGH MY
PROFILE IN SLIDESHARE… TO
REGISTER YOUR OBJECTION TO THIS
UPLOAD PLZ COMMENT UNDER THE
PRESENTATION IN THE WEBSITE
15
16. BIBLIOGRAPHY
COMPUTER SCIENCE IN C++ BY :– SUMITA ARORA
(Class:- ‘XI’, ‘XII’)
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
www.cbseportal.com
16