0% found this document useful (0 votes)
86 views12 pages

Student Project - Banking System

The document provides instructions for developing a banking application in C++. It demonstrates the core features of depositing, withdrawing, checking balances, viewing all accounts, and closing accounts. It shows example usage and explains how the backend stores data in files. It also summarizes the key classes used - Account, Customer, and static functions for assigning IDs and file handling. The goal is for the student to build upon this to create a fully functional console-based banking application.

Uploaded by

fjifjiej
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views12 pages

Student Project - Banking System

The document provides instructions for developing a banking application in C++. It demonstrates the core features of depositing, withdrawing, checking balances, viewing all accounts, and closing accounts. It shows example usage and explains how the backend stores data in files. It also summarizes the key classes used - Account, Customer, and static functions for assigning IDs and file handling. The goal is for the student to build upon this to create a fully functional console-based banking application.

Uploaded by

fjifjiej
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 12

1

00:00:00,580 --> 00:00:04,530


You let us look at the Project for a banking system.

2
00:00:04,530 --> 00:00:09,120
So first I've run the application and show you how the project should work.

3
00:00:09,120 --> 00:00:13,620
So based on it's working I'll explain to you the features that are expected in the
application and this

4
00:00:13,620 --> 00:00:17,360
application you have to develop it based on it working.

5
00:00:17,410 --> 00:00:22,440
And I will explain who the code little bit so that you get by the way how do I know
how to develop the

6
00:00:22,440 --> 00:00:23,840
complete application.

7
00:00:23,850 --> 00:00:30,240
So it's an application for banking providing minimal features of banking system
you're just compiling

8
00:00:30,480 --> 00:00:31,610
the project and see

9
00:00:35,640 --> 00:00:41,980
yeah this is going to be given by a banking system that is meant all options are
open and account for

10
00:00:42,030 --> 00:00:42,860
balancing.

11
00:00:42,880 --> 00:00:48,090
You can't know the details of your bank account and deposit some amount in your
account or withdraw

12
00:00:48,090 --> 00:00:51,580
some amount or even you can close the account.

13
00:00:51,840 --> 00:00:56,270
And even that is an option to see the details of all the accounts.

14
00:00:56,310 --> 00:00:59,250
So let us start first open a first account.

15
00:00:59,250 --> 00:01:03,330
So the first account and the name is

16
00:01:06,560 --> 00:01:07,850
first name is John.

17
00:01:07,880 --> 00:01:09,380
And the second name is Mark.

18
00:01:09,410 --> 00:01:10,390
And let's see.

19
00:01:10,490 --> 00:01:12,530
The amount is 5000.

20
00:01:12,530 --> 00:01:20,270
So here you can see the message is given Congratulations on the script that John
Mark and I call them

21
00:01:20,300 --> 00:01:23,340
what is run and the balance is 5000.

22
00:01:23,450 --> 00:01:29,450
Let me add one more Account Name Address Ravi and.

23
00:01:29,990 --> 00:01:34,290
And the balancers nine thousand.

24
00:01:34,310 --> 00:01:36,500
See here I go number four.

25
00:01:36,500 --> 00:01:39,620
This is to automatically a condom was given.

26
00:01:39,620 --> 00:01:44,990
So already we have learned how we can assign some numbers like I give an example
for all members of

27
00:01:44,990 --> 00:01:45,790
our student.

28
00:01:46,100 --> 00:01:51,770
You have to pick that feature of C++ for providing numbers automatically.
29
00:01:51,790 --> 00:01:53,770
So so far I have created two accounts.

30
00:01:53,770 --> 00:01:56,950
This is for every Komarov and one for John Mark.

31
00:01:57,140 --> 00:02:03,080
I will create one more account so I'll get the option as one then I'll give the
first name as a start

32
00:02:03,800 --> 00:02:11,680
and secondly as one and the balances three thousand nine hundred comes.

33
00:02:11,690 --> 00:02:18,040
So let me try the sixth option if I mention option 6 then I can see the details of
all accounts.

34
00:02:18,060 --> 00:02:21,670
This is the first account and second and third account.

35
00:02:22,400 --> 00:02:27,500
So let me quote from the application already I have given the details of 3 account
holders.

36
00:02:27,650 --> 00:02:30,470
If I could then that data will be lost.

37
00:02:30,620 --> 00:02:36,420
No those obligations should Stalder details of all these accounts in a fight.

38
00:02:36,680 --> 00:02:41,390
And when we return the obligation it should retrieve all these details from the
files.

39
00:02:41,450 --> 00:02:45,060
So let us go out and check again.

40
00:02:45,170 --> 00:02:49,070
Now let us run it once again.

41
00:02:49,070 --> 00:02:50,880
No application is back.

42
00:02:50,990 --> 00:02:53,470
Let us see six options six.

43
00:02:53,480 --> 00:02:54,950
I got all the details.

44
00:02:55,220 --> 00:03:00,530
So it means distorting the data in the files and then starting it just retrieving
the data from the

45
00:03:00,530 --> 00:03:01,240
file.

46
00:03:01,640 --> 00:03:03,610
Let us check the balance inquiry option.

47
00:03:03,620 --> 00:03:07,060
I'll give the option as to and I will say I don't know what is.

48
00:03:07,220 --> 00:03:09,640
So I got the details of Saga.

49
00:03:10,220 --> 00:03:11,990
Then let us see the third option.

50
00:03:11,990 --> 00:03:12,980
That is a deposit.

51
00:03:12,980 --> 00:03:21,630
So let me get bothered some among em in her account and deposit 1000 new balances.

52
00:03:21,630 --> 00:03:23,440
Four thousand.

53
00:03:23,480 --> 00:03:26,680
Let me draw some amount so I'm giving for the option.

54
00:03:26,820 --> 00:03:31,340
And from a count 1 I will withdraw 500.

55
00:03:32,090 --> 00:03:34,760
So the amount that I'm withdrawing is five hundred.

56
00:03:34,760 --> 00:03:36,440
So it became New Balance.
57
00:03:36,860 --> 00:03:39,170
Four thousand five hundred.

58
00:03:39,770 --> 00:03:41,540
Let us see all the accounts.

59
00:03:41,570 --> 00:03:43,670
So I got all three accounts here.

60
00:03:44,000 --> 00:03:51,110
Let us wait and see once again see the details hard foothold in 500 9000 and 4000.

61
00:03:51,320 --> 00:03:55,020
So if I read him I should get back the same details.

62
00:03:55,040 --> 00:03:59,330
So I'm good I'm good in the application.

63
00:03:59,360 --> 00:04:01,310
Let us run it once again.

64
00:04:01,310 --> 00:04:04,600
Now if I give option 6 then I've got all the details.

65
00:04:04,610 --> 00:04:08,870
That is four thousand five hundred and nine hundred and four thousand.

66
00:04:08,900 --> 00:04:11,520
So all the details are as it is now.

67
00:04:11,570 --> 00:04:12,950
Let me delete one account

68
00:04:15,480 --> 00:04:16,940
close one account.

69
00:04:17,140 --> 00:04:19,450
Fifth option which accounts second account.

70
00:04:19,460 --> 00:04:26,030
I want to remove see all accounts so I got only two accounts.

71
00:04:26,100 --> 00:04:29,150
This is 4500 and 4000.
72
00:04:29,150 --> 00:04:34,220
So to go inside available in all that then one more thing I will create a new
account.

73
00:04:34,220 --> 00:04:40,920
One more account is Raj and hidden on the balances.

74
00:04:41,210 --> 00:04:46,280
A thousand no new account than what is created with the new phone number.

75
00:04:46,280 --> 00:04:48,990
That is Nick's account number that is for.

76
00:04:49,430 --> 00:04:50,090
So that's it.

77
00:04:50,090 --> 00:04:52,000
So your obligation should look like this.

78
00:04:52,010 --> 00:05:02,590
It should store the data in the files and also provide following options for
banking system.

79
00:05:02,660 --> 00:05:08,480
I have taken a few values that its first name last name and balance number
automatically generated if

80
00:05:08,480 --> 00:05:10,940
you want to take address phone number or email ID.

81
00:05:10,940 --> 00:05:17,880
All those things so you can extend application so are you show you how this
application as on.

82
00:05:17,900 --> 00:05:22,790
I will give you some idea about the code so that you can develop this complete
application.

83
00:05:22,790 --> 00:05:29,750
If you work on this application then you can work on any console based application
in C++ with by using

84
00:05:29,750 --> 00:05:32,880
the features that all of you have covered in other courts.
85
00:05:32,900 --> 00:05:37,790
So spend your time developing this application is you face any problems.

86
00:05:37,790 --> 00:05:42,360
Then you can check the code that I have provided as a resource.

87
00:05:42,410 --> 00:05:45,010
Let us look at the code for this project.

88
00:05:45,050 --> 00:05:49,460
I have some classes right here and the main function.

89
00:05:49,460 --> 00:05:51,750
So let me explain you briefly.

90
00:05:52,100 --> 00:05:54,180
For details you have to write on.

91
00:05:54,230 --> 00:06:04,160
So I have taken one constant that as for as minimum balance amount and exceptions
for insufficient funds

92
00:06:04,380 --> 00:06:12,960
then this is a class for account and Glassford does having account number first
name last name and Balin.

93
00:06:12,960 --> 00:06:19,010
So if you won you can add more get our members here unfought automatically
assigning account numbers.

94
00:06:19,020 --> 00:06:22,680
I have a static variable that does account number.

95
00:06:22,680 --> 00:06:31,600
Then I have a default constructor on mid-race constructor and accessories like to
get the account number

96
00:06:31,600 --> 00:06:33,710
to get first name get the last name.

97
00:06:33,750 --> 00:06:40,530
I did not write mutator because because of all these things cannot be modified once
account number is

98
00:06:40,530 --> 00:06:42,000
assigned it cannot be changed.

99
00:06:42,060 --> 00:06:46,500
And first name last name for a person cannot be changed associated with that
account.

100
00:06:46,830 --> 00:06:52,020
So I don't have functions for changing account number of first name and last name.

101
00:06:52,350 --> 00:06:53,610
Next is get the balance.

102
00:06:53,610 --> 00:07:00,240
This will give the balance Salmaan then I'll say how functions for deposit and
Vidro and for accessing

103
00:07:00,240 --> 00:07:05,560
this a static member I have two static functions that this set lost.

104
00:07:05,620 --> 00:07:10,130
I I get lost count it because I'm using Fynes.

105
00:07:10,230 --> 00:07:12,540
I'm using file for storing the data.

106
00:07:12,750 --> 00:07:18,680
If I get from the obligations that I need to start again then I don't know what was
the last number

107
00:07:19,110 --> 00:07:24,060
and what should be the next account number.

108
00:07:24,230 --> 00:07:29,060
So the application should know what was the last account number given by some
account so that it can

109
00:07:29,060 --> 00:07:35,180
start from the next account number then for saving in the file and retrieving from
the file I have a

110
00:07:35,420 --> 00:07:42,050
friend functions and for displaying account details I have the insertion operator
that is News Stream

111
00:07:42,110 --> 00:07:44,250
operator overloaded.
112
00:07:45,380 --> 00:07:48,400
And this is a static member defined outside.

113
00:07:48,410 --> 00:07:54,500
So you have to read on the logic for all these then this is the classic Deutsche
Bank.

114
00:07:54,490 --> 00:07:57,680
Banks will have collection of accounts.

115
00:07:57,680 --> 00:08:04,270
So yes this is the collection but this is of type map because I am searching based
on the account number

116
00:08:04,280 --> 00:08:05,700
so I have to can map.

117
00:08:05,720 --> 00:08:07,550
So the first one is for the account number.

118
00:08:07,550 --> 00:08:10,620
Second one is for the complete account itself.

119
00:08:11,060 --> 00:08:12,060
Then this account.

120
00:08:12,080 --> 00:08:12,820
So.

121
00:08:13,340 --> 00:08:17,120
So this map container is used for storing all the account.

122
00:08:17,120 --> 00:08:23,540
So then the program starts it should get all the accounts detail from the file and
store them and make

123
00:08:23,540 --> 00:08:24,810
a list here.

124
00:08:24,860 --> 00:08:30,620
So when I'm using the application the application will be accessing the columns
from here that is from

125
00:08:30,620 --> 00:08:37,100
this container that is mapped and in that so open account which RADICH first name
last name and the

126
00:08:37,100 --> 00:08:43,370
balance doesn't take account numbers because automatically a call number is given
so open account will

127
00:08:43,730 --> 00:08:50,810
add an account into this fund balance inquiry will search for an account and this
map accounts and find

128
00:08:50,810 --> 00:08:56,840
out the details of an account and deposit and withdrawal will also search for an
account number in this

129
00:08:56,840 --> 00:09:05,990
map and then it will call deposit and withdrawal of account that is this deposit
and withdrawal then

130
00:09:05,990 --> 00:09:06,640
close accounts.

131
00:09:06,650 --> 00:09:12,080
See at the bank we find these types of operations are available that can open an
account check for the

132
00:09:12,260 --> 00:09:18,280
balance in our account and withdraw and deposit or we can also close an account on
this issue.

133
00:09:18,290 --> 00:09:20,570
All accounts is for bank personnel.

134
00:09:20,640 --> 00:09:22,690
It's not for the customers.

135
00:09:23,240 --> 00:09:25,220
And also I have distracter.

136
00:09:25,350 --> 00:09:31,220
Then there's the main function of it just providing those options and makes our
case one it is for opening

137
00:09:31,220 --> 00:09:31,760
an account.

138
00:09:31,760 --> 00:09:40,160
So in reading the details of a customer and it will call up an account for balance
inquiry it will take

139
00:09:40,160 --> 00:09:41,190
the account number.

140
00:09:41,200 --> 00:09:47,160
Then it will be called Balance inquiry and give account details for deposit it will
take down my vanguard

141
00:09:47,170 --> 00:09:50,840
of deposit function up on an account.

142
00:09:50,840 --> 00:09:53,950
Likewise all these options are provided on here.

143
00:09:53,990 --> 00:09:57,200
I have the implementation of all those functions.

144
00:09:57,200 --> 00:10:01,570
See here I have opened stream an input stream.

145
00:10:01,610 --> 00:10:06,830
Operator on file is overloaded for storing the information of an account.

146
00:10:06,950 --> 00:10:07,530
So that's it.

147
00:10:07,550 --> 00:10:10,520
This is from my site.

148
00:10:10,580 --> 00:10:12,240
You can.

149
00:10:13,040 --> 00:10:18,980
You have to implement all these classes so I have given you that design how the
program should look

150
00:10:18,980 --> 00:10:21,410
like and what classes you must write.

151
00:10:21,530 --> 00:10:26,750
If you can come up with another design or if you think of some other type of
classes you can build up
152
00:10:27,070 --> 00:10:32,030
by working off that application must be the one you have shown you.

153
00:10:32,120 --> 00:10:38,970
I mean the application here runs until you get a C option 6.

154
00:10:39,080 --> 00:10:43,900
See there are already some accounts I have stored so it is showing those accounts

155
00:10:48,340 --> 00:10:51,000
then get balance in equity that is for account.

156
00:10:51,030 --> 00:10:51,410
One

157
00:10:54,880 --> 00:10:58,330
get the balance in equity that is for accounting 3.

158
00:10:58,540 --> 00:11:02,310
So it's showing the details of that account.

159
00:11:03,340 --> 00:11:06,970
So all that you have shown you are working on this is on an escort.

160
00:11:07,000 --> 00:11:10,270
I'm showing it to working right.

161
00:11:10,300 --> 00:11:13,590
So this is how application should work.

162
00:11:13,840 --> 00:11:18,250
All these options must be there and the application should look based on the
choices provided by the

163
00:11:18,250 --> 00:11:18,990
user.

164
00:11:19,300 --> 00:11:23,740
I have also provided a PTF of this program as a resource.

You might also like