yingyuan 0 Newbie Poster

Compiling BANK.CPP:
Warning MANAGER.H 154: Functions containing while are not expanded inline
Warning MANAGER.H 234: Functions containing while are not expanded inline
Warning MANAGER.H 309: Functions containing while are not expanded inline
Warning MANAGER.H 112: Functions containing missing return statements are not expanded inline in function Account_Manager::Add()
Warning MANAGER.H 133: Possible use of 'E_Num' before definition in function Account_Manager::Post()
Warning MANAGER.H 136: Possible use of 'E_Amt' before definition in function Account_Manager::Post()
Error MANAGER.H 152: Undefined symbol 'FA_HIDDEN' in function Account_Manager::Post()
Warning MANAGER.H 161: Possible use of 'Event_Name' before definition in function Account_Manager::Post()
Warning MANAGER.H 162: Possible use of 'Event_Amount' before definition in function Account_Manager::Post()
Warning MANAGER.H 163: Possible use of 'Event_Post' before definition in function Account_Manager::Post()
Warning MANAGER.H 164: Possible use of 'Event_Balance' before definition in function Account_Manager::Post()
Warning MANAGER.H 167: Possible use of 'f' before definition in function Account_Manager::Post()
Warning MANAGER.H 187: Possible use of 'post' before definition in function Account_Manager::Post()
Error MANAGER.H 212: Call to undefined function 'getchar' in function Account_Manager::View()
Error MANAGER.H 232: Undefined symbol 'FA_HIDDEN' in function Account_Manager::File_Content()
Error MANAGER.H 234: While statement missing ( in function Account_Manager::File_Content()
Warning MANAGER.H 298: Possible use of 'E_Num' before definition in function Account_Manager:: Delete()
Error MANAGER.H 307: Undefined symbol 'FA_HIDDEN' in function Account_Manager:: Delete()
Error MANAGER.H 309: While statement missing ( in function Account_Manager:: Delete()
Warning MANAGER.H 328: Possible use of 'del' before definition in function Account_Manager:: Delete()

yingyuan 0 Newbie Poster

sorry, i have try to run the program again, but it still have the error.
can u try to run this program and help me solve the error, thank you.

yingyuan 0 Newbie Poster

i have write the bank system used C++ , but got the error , who can help me solve the error.
i use 3 file in this program:
1. bank.cpp
2. manager.h
3. bank.tcp (this file live it blank, save it as "bank.tcp" , this file is store the amount. )

#include <iostream.h>
#include <conio.h>
#include <iomanip.h>
#include <fstream.h>
#include <stdlib.h>
#include <dir.h>


#include "Manager.h"
Account_Manager AM;


//These are all the functions used
void Deposit(int bal);
void Withdrawal(int bal);
void Balance(int bal);
void AccManager();
void Menu();
void FinOrganizer();
void Exit();


//These are the variables used
int Dnum;
int bal;
char select;



int main(){
//This function clears the screen everytime the program comes back to
//the main menu function.
//  clrscr();
//Main menu function
Menu();


return 0;
}
//The deposit function handles deposits coming into the program
void Deposit(){
clrscr();


cout <<"\n\tEnter an amount: $";
cin >>Dnum;


/*The balance is read from the Bank file and is added to the amount
deposited. When starting the program for the first time the bal will
be 0, but when a deposit amount is given, it is added to the bal so
the next time the bal is read from the Bank file it will be what
was added to the bal which was 0 and now the balance becomes the
first deposit and the process continues every time a deposit is made.*/


ifstream balin("Bank.tcd");
balin>>bal;
balin.close();


bal = bal + Dnum;


/*If someone tries to enter an amount …
yingyuan 0 Newbie Poster

ok, i just recieve this project in one week later, i will try to write somthing if i have stuck, i will post the code.

yingyuan 0 Newbie Poster

yes, this is my C++ assignment.
i know this assignment want to using the Object-Oriented concepts(inheritance, polymorphism etc).
i know to defind some classes like create account, and what type of acount custermer want to create, but i dont know how to search back the account custemer created.

yingyuan 0 Newbie Poster

banking system :

-all the bank accout can be created, accessed,and clossed later.
-three type of account:current,saving,fixed deposit.
-each custormer can open more than one type of accounts.
-The transactions are deposit, withdraw, and view balance
-the account created with a deposit and creation date.
-After that money can be deposited and withdrawn.Balance will be updated accordingly
-a request for balande should display each individual account ballance as well as the total balance of all acoounts owned

customer class and an account class

customer class:

customer no (3 digits)
Name
address
account class:

creation date
Balance
type