Beruflich Dokumente
Kultur Dokumente
INTRODUCTION
Introduction of Project
Objectives of Projects:1] To create computerized system. 2] To save times & to maintain large database. 3] To performs efficient transactions. 4] To see all reports. 5] To create user friendly application.
Menu Based Application:The Venu-Gopal Automobile Service Center application is totally menu based user friendly software designed using C++ programming language & database stored with help of file system. In this application first appears menu based different option user can select any one they are required and performed various task. This application provides username and password facility. In this application used maximum feature of C++ language.
This Application Performs Following Tasks:1] To records purchase transactions. 2] To records sales/service transactions. 3] To records customer details. 4] To records employees information. 5] To maintain available stocks. 6] To modify customer details. 7] To modify employee information. 8] To modify supplier information. 9] To see purchase reports. 10] To see sales reports. 11] To see date wise all purchase & sales reports. 12] To see employee information.
FEATURES OF C++
Features of C++
The programming language C++ used to develop a project Venu-Gopal Automobile Service Center is superset of c language .It provides the flavors of oops. With its object Oriented programming features like encapsulation, inheritances & polymorphism, CPP is developed by Bjarne Stroustrup at AT&T Bell lab in Murray Hill, New Jersey, USA. C++ has undergone many change & improvements. The language was standardized in 1998 by him American National Standard Institute (ANSI) & the International standard organization (ISO) by incorporating not only the new features but also the changes suggest by the user groups. Some of the reason that this language becomes most popular amongst developers is given below:The following basic concepts of oops: Class Abstraction Encapsulation Inheritance Polymorphism
Objects:An object is an abstraction of real-world entity. It may, represent a person, a place, a no.; an icon or something else that can be modeled .It is a single unit, in which we can store data as well as functions, which will work on the data.
Classes:A class is a collection of object having common features. A class is a user defined data type which ensconces data members as well as functions that manipulate these data
Abstraction:It is essential elements of Object Oriented Programming. It can be defined as the separation of unnecessary details or explanations from system requirements so as to reduce complexities of understanding requirements, i.e. the essential features are represented without including background detail.
Encapsulation:It is mechanism that puts in capsule the data and function together. It is the result of hiding the implementation details of objects from its users. The object hides its data from other objects and allows the data to be accessed by only those functions which are packaged in the class of the object.
Inheritance:It is the one of the most imp features of the OOP programming. Creating new class from existing old class is called inheritance. Reuse the same data again in a different class is possible by inheritance features.
Polymorphism:Use the same thing for slightly different purpose is known as polymorphism. Or one name multiple duties.
Inclusion of Header Files:A header file contains the definition, global variable declarations, and initialization by all files in a program. iostream. h :: Stream Input\Output routines iomanip.h :: C++ streams I\O manipulator fstream .h :: Stream classes that supports file Input & output. conio.h string.h dos.h :: Console I/O routines. :: String & memory manipulation routines. :: To date & time function.
FUNCTIONS DECLARATION
FUNCTION DECLARATION:A function plays an important role in program development. Dividing program into functions is one of the major principles of top-down, structured programming. Functions are reduces the size of a program by calling them at different places in the program. Function prototyping is one of the major improvements in C ++ functions. The prototypes describes the function interface to complier by giving details such as the number and the type of arguments and the type of return values.
LIBRARY FUNCTIONS
1] cout () 2] cin () 3] getch () 4] switch () :- This function is used to print any type of data. :- This function is used to accept entire value. :- This function gets character from console but type of data. :- Switch is control statement that provides a facility for Multi way branching from particular point. :- To clear the text mode window. :- It is used to cause an exit from the loop & switch statement. :- It is used to create user defined data type, value. :- It is used to mark the end of function execution and to Transfer the control back to the calling function. :- While is a control statement used to set of statements repeatedly Depending on the outcome of a test. :- It is data type and is used to the indicate the objects of Unknown type, function.
9] while ()
10] void ()
11] setw ()
:- It is used to set or reserve the number of columns for Information being displayed on the monitor.
12] textcolor() :- It is used to set current text color. 13] gotoxy() :- It is used set cursor given passion. 14] textbackground() :- It is used to set background color.
2] linedesign() :- To line design purpose. 3] design() 4] getdata() 5] total() 6] salary() :- To designing required label. :- To input data from user. :- To calculate total amount. :- To calculate employee salary.
Venu-Gopal Automobile Service Center
8
:- To printing report on the screen. :- To calculate available stocks. :- To login & welcome to user.
10] homepage() :- To main form or homepage. 11] modify() 12] paysal() :- To modify customer, supplier & employee data. :- To pay salary to the employee.
ALGORITHMS
10
11
12
13
14
15
REPORTS ALGORITHM
1Start 2 Enter your choice 3 If ch == 1 then 4 Display purchase reports 5 If Else ch == 2 then 6 Display sales reports 7 If Else ch == 3 then 8 Display employee reports 9 If Else ch == 4 then 10 Display available stocks 11 If Else ch == 5 then 12 Display purchase reports date wise 13 If Else ch == 6 then 14 Display sales reports date wise 15 If Else ch == 0 then 16 Go to main form 17 Stop
16
FLOWCHARTS
17
Input pass1
A=strcmp(userid,userid1)
18
Start Input ch
If
ch==P||ch==p
N If
ch==S||ch==s
N If
ch==B||ch==b
N If
ch==M||ch==m
N If
ch==A||ch==a
N If
ch==R||ch==r
N
ch==E||ch==e
Stop
19
PURCHASE FLOWCHART
Start Input serial_no
Store serial_no
Input sname
Store sname
Input saddress
Store saddress
Input scontact
Store scontact
Input pbno
Store pbno
20
Input sdname
Store sdname
Input scompany
Store scompany
Input srate
Store srate
Input sqty
Store sqty
Amount=srate*sqty
Store Amount
21
Store tamount
Input pamount
Store pamount
ramount=tamount-pamount
Store ramount
Stop
22
Astock=aqty-cqty
Display Astock
Stop
23
REPORTS FLOWCHART
Start Input ch
Go to main form
24
OUTPUT SCREEN
25
This output screen related to the login form i.e. user name & password.
26
This output screen related to the main form in the this application.
27
28
29
30
31
32
33
34
This output screen related to the employee entry with primary key.
35
36
37
This output screen related to the pay salary & modify information.
38
This output screen regarding to all the available stocks before salling.
39
40
41
42
43
44
USER MANUAL
45
USER MANUAL
When we install this application or run then we firstly see the login form then we must enter login id & password. When login id & password is wrong then we will take three chances to enter correct login id & password. But we did not enter correct login id or password then application is turn off. If login id & password is correct then we will see the main form. In main form there are seven choices i.e. P for purchase entry, S for sales entry, B for modify & pay salary, M for employee entry, A for available stocks, R for all reports & E for exit application. Then we will select appropriate choice we want. When we select P for purchase entry then we will see small form. In this form there are two choices i.e. daily supplier YES or NO. If we select or enter Y then enter correct supplier id i.e. already exits otherwise, we select N then we enter new supplier id i.e. already not exits. Then we will see next supplier information form then enter the appropriate data related to label. Then we will see next purchase equipment form then enter the data we have purchased. Above purchase entry procedure same as sales entry procedure but in the last in the sales entry generate automatic customer bill for you have selected customer. When we will select choice A from the main form then we will see all the available stocks present in your shop. When we will select choice M from the main from then, we will see employee data add form then, firstly enter employee id number then enter employee all information regarding to label. When we will select choice R from the main form then we will see all reports form i.e. purchase reports, sales reports, and employee reports, available stocks reports, date wise purchase & sales reports etc. When we will select choice B from the main form then we will see employee pay salary form & modify form. We can modify supplier, customer & employee information. Also we pay employee salary using this form.
46
BIBLIOGRAPHY
47
BIBLIOGRAPHY
Books 1. Programming in C++ 2 .Programming with C++ 3. Let Us C++ 4. Object-Oriented Programming in C++
Author
48