Seminar Topics & Project Ideas On Computer Science Electronics Electrical Mechanical Engineering Civil MBA Medicine Nursing Science Physics Mathematics Chemistry ppt pdf doc presentation downloads and Abstract

Full Version: BANK MANAGEMENT SYSTEM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
BANK MANAGEMENT SYSTEM
Acknowledgement
“Perseverance inspiration and motivation have always played a key role in success of any venture”. I here by express my deep sense of gratitude to all the personalities involved directly and indirectly in my project work.
I would like to thank the computer department for giving me a golden opportunity to work on this project.
I am highly indebted to S.MANPREET SINGH C++ teacher for his guidance and constant supervision as well as for providing necessary information regarding the project & also for his support in completing the project.
I would like to express my gratitude towards my parents & members of the Organization “NICE COMPUTER CENTER” for their kind co-operation and encouragement which help me in completion of this project.
I would also like to thank my friends, and those who have helped me during this project directly or indirectly.
PREFACE
This project of “BANK MANAGEMENT SYSTEM” of gives us the complete information about the bank. We can enter the record of new account and retrieve the details of all account holders available in the bank. We can deposit and withdraw the cash and maintain their records. We can also check our balance in our account. We can check all account holder list. This project allows us to modify an account.
Throughout the project the focus has been on presenting information and comments in an easy and intelligible manner. The project is very useful for those who want to know about Bank Management System.
In the last, I gratefully acknowledge and express my gratitude to all the teachers and friends who supported me to preparing this project.
INTRODUCTION OF C++
C++ is an extension to C Programming language. It was developed at AT&T Bell Laboratories in the early 1980s by Bjarne Stroustrup. It is a deviation from traditional procedural languages in the sense that it follows object oriented programming (OOP) approach which is quite suitable for managing large and complex programs.
That access to data is allowed only through its function or code. Such combination of data and code is called an object. C++ is a general-purpose programming language with high-level and low-level capabilities. It is a statically typed, free-form, multi-paradigm, usually compiled language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. A C++ program is a collection of commands, which tell the computer to do "something". This collection of commands is usually called C++ source code, source code or just code. Commands are either "functions" or "keywords". Keywords are a basic building block of the language, while functions are, in fact, usually written in terms of simpler functions.
Applications Of C++
1. It supports all features of both structured programming and object oriented programming.
2. It gives the easiest way to handle the data hiding and encapsulation with the help of powerful keywords such as class, private, public, protected.
3. Inheritance, one of the most powerful design concepts is supported with single inheritance and multiple inheritance.
4. Polymorphism through virtual functions, virtual base classes and virtual destructors gives the late binding of compiler.
5. It provides overloading of operators and functions.
6. C++ focuses on function and class templates for handling parameterized data types.
7. Exception handling is done by the extra keywords, namely, try, catch and throw (in visual studio).
8. C++ provides friends, static methods, constructors, and destructors for the class objects
Unstructured Programming
In this main program stands for a sequence of commands or statements, which modify data which is global throughout the whole program
Procedural Programming
In this different functions are created and call by the main function. The main program coordinates calls to procedures and hands over appropriate data as parameters.
Modular Programming
With modular programming procedures of a common functionality are grouped together into separate modules. A program therefore no longer consists of only one single part. It is now divided into several smaller parts.
Simple program in C++
Writing program in C++ is similar to as was in C. the statements to be executed are written within the function main( ). The structure of program is almost same if we are not using class.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<”c++ is better than c”;
getch();
}
cout stream
cout stream is used with << . The << operator is known as insertion operator. cout << is used to see out put on monitor.
cin stream
cin stream is used with >> (extraction) cin >> is used to take input from keyboard. Header file for cin & cout is iostream.h.
Ternary operator
The ? (Ternary condition) operator is a more efficient form for expressing simple if statements. It has the following form:
expression1 ? expression2: expression3
It simply states:
if expression1 then expression2 else expression3
Loops
A loop is a part of the program through which the control moves several times during the execution of program. The part which is executed again and again is known as the body of the loop.
In C++ we have three types of loops.
FOR loop
for (initializes; terminate test; modifier)
main()
{
int x;
for (x=0;x<10;x++)
{
cout<<x;
}
}
output:
0,1,2,3,4,5,6,7,8,9,
While loop
The general format of the while loop is
while (expression)
{
statement a;
statement b;
}
Do while
The general format of the do while loop is
do
{
statement a;
statement b:
}
while(expression);
Branching statements
These statements transfer the control to another part of the program. There are three types of branching statement.
(a) continue statement
(b) break statement
© goto statement
Continue :- The continue statement takes the control at the beginning of the loop. And remaining statements skipped and control move to the last stub.
Break :- The break statement is used to terminate the loop or a sequence of statement in a switch statement. A break statement enforces immediate termination. If we want to jump out of a loop instantly, without waiting to get back to the conditional test . The keyword break allows us to do this.
Goto :- The goto statement is used to alter the normal sequence of program execution by transferring the control to some pre defined level in the program. goto statement is used along with a label. When the program falls to the line containing the goto statement, it jumps automatically to the same corresponding label.
Structures
• A structure can be defined as a collection of variables of the same or different types.
• This group of variables is given a common name known as the name of the structure.
• The individual variables in a structure are known as member of the structure.
Declaring the data in the form of a structure has several advantages. The main advantage is that we can group together several related data items of same type. The group of variables has a common name and common memory location. A structure declaration starts with the keyword struct. The
SyntaxConfusedtruct abc // abc is the name of the structure
{
declare variables;
};
main()
{
struct distance
{
int feet;
float inches;
}
struct distance d={13,7.8};
printf(“\nThe Distance is: “);
printf(“%d feet and %f inches, d.feet,d.inches);
}
Functions
What is a function?
A program in the c language consists of several functions. One such function we have used is the main function this is in built function depending upon the user needs he can also define several functions with different names.
Every function has a name the name of the function ends with a pair of parenthesis. These parentheses may or may not contain any thing. Whatever is inside the parenthesis is known as the argument of a function. While defining function you must know these things
Why we use functions?
We use functions to simplify our work. Functions are mostly used in c for a series of instructions that are to be executed more than once. But it is not like a loop. A loop can repeat a series of instructions only if each statement follows the previous one. By calling a function a series of instructions can be repeated at any point within the program. Thus by the use of functions the program becomes short which is easy to write and debug.
Function name
Function return type (if there is no return then use void) e.g. function return-type (void), Function argument (if there is no argument here we can also use void)
Syntax to define a function:
<Return type> functionname (arguments)
We can divide the user define function in following main categories
1. No return no argument
2. No return with argument
3. Return without argument
4. Return with argument
Program: To add 2 numbers with no return no argument
#include <iostream.h>
void add (
{
int a,b,c;
cout<<"enter the value of a and b";
cin>>a>>b
c=a+b;
cout<<c;
}
void main( )
{
add( );
getch( );
}
1. Once a function is defined it can be called by any other function as many times as may be necessary.
2. Whenever a function is called the statements in the body of function are executed in
3. the sequence in which they are defined
Class is a collection of data and functions. Class is a logical method to organize data and the function in a same structure.
Eg:-
class test
{
int a;
public:
void func()
{
cin>>a;
cout<<a;
}
};
void main()
{
test t;
t.func();
}