سورس پروژه مدیریت بانک با زبان سی پلاس پلاس ++C
سلام به همراهان گرامی، در این پست از وب سایت برنامه نویسی نوآوران گرمی مرجع پروژه های دانشجویی ، سورس پروژه مدیریت بانک با زبان سی پلاس پلاس ++C را آماده کرده ایم که دارای امکانات زیر می باشد: نمایش اطلاعات حساب، نمایش لیست حساب ها، نمایش انتقالات، ایجاد حساب جدید، ویرایش اطلاعات حساب.
قابل ذکر است که سورس پروژه مدیریت بانک برای اطلاعات حساب با فایل های متنی کار می کند. از این برنامه می توانید به عنوان یک پروژه کلاسی استفاده نمائید. امیدواریم که مورد استفاده شما دوستان قرار گیرد.
در ادامه مطلب قسمت های از سورس پروژه مدیریت بانک با زبان سی پلاس پلاس را می توانید مشاهده کنید.
تکه کد سورس پروژه مدیریت بانک با سی پلاس پلاس:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | <strong><span style="color: #ff0000;">جهت دریافت کد کامل این برنامه از قسمت خرید محصول اقدام کنید</span></strong> #include<fstream.h> #include<ctype.h> #include<iomanip.h> #include<conio.h> #include<stdio.h> class account { int acno; char name[50]; int deposit; char type; public: void create_account(); //function to get data from user void show_account(); //function to show data on screen void modify(); //function to get new data from user void dep(int); //function to accept amount and add to balance amount void draw(int); //function to accept amount and subtract from balance amount void report(); //function to show data in tabular format int retacno(); //function to return account number int retdeposit(); //function to return balance amount char rettype(); //function to return type of account }; //class ends here void account::create_account() { cout<<"nEnter The account No."; cin>>acno; cout<<"nnEnter The Name of The account Holder : "; gets(name); cout<<"nEnter Type of The account (C/S) : "; cin>>type; type=toupper(type); cout<<"nEnter The Initial amount(>=500 for Saving and >=1000 for current ) : "; cin>>deposit; cout<<"nnnAccount Created.."; } void account::show_account() { cout<<"nAccount No. : "<<acno; cout<<"nAccount Holder Name : "; cout<<name; cout<<"nType of Account : "<<type; cout<<"nBalance amount : "<<deposit; } void account::modify() { cout<<"nThe account No."<<acno; cout<<"nnEnter The Name of The account Holder : "; gets(name); cout<<"nEnter Type of The account (C/S) : "; cin>>type; type=toupper(type); cout<<"nEnter The amount : "; cin>>deposit; } void account::dep(int x) { deposit+=x; } void account::draw(int x) { deposit-=x; } void account::report() { cout<<acno<<setw(10)<<" "<<name<<setw(10)<<" "<<type<<setw(6)<<deposit<<endl; } int account::retacno() { return acno; } int account::retdeposit() { return deposit; } char account::rettype() { return type; } //*************************************************************** void write_account(); //function to write record in binary file void display_sp(int); //function to display account details given by user void modify_account(int); //function to modify record of file void delete_account(int); //function to delete record of file void display_all(); //function to display all account details void deposit_withdraw(int, int); // function to desposit/withdraw amount for given account void intro(); //introductory screen function |
خروجی برنامه:
هیچ نظری ثبت نشده است