🚀 Effortless Bank Account Management via a Console-Based Application
C-Bank is a Bank Account Management System written in C, designed to efficiently handle essential banking operations via a simple console interface. This application enables users to create and manage bank accounts with ease, featuring functionalities such as account creation, deposits, withdrawals, balance inquiries, and account closure.
✔ Account Creation – Users can create new bank accounts by providing essential details such as account holder name, email, etc.
✔ Deposit Operation – Allows users to deposit funds into their accounts while automatically updating the balance.
✔ Withdrawal Operation – Enables users to withdraw money, ensuring the requested amount does not exceed the available balance.
✔ Balance Inquiry – Users can check their real-time account balance at any time.
✔ Account Closure – Accounts can be closed securely, provided there are no outstanding balances.
✔ Error Handling – Prevents issues like insufficient funds, invalid inputs, and other errors.
✔ Data Persistence – Account information is stored in files, ensuring that data remains intact even after restarting the application.
✔ Security Measures – Basic password protection and secure file handling are implemented to safeguard sensitive user data.
📦 c-bank
├── 📄 main.c # Core application logic
├── 📄 account.h # Header file for account-related functions
├── 📄 functions.c # Implementation of bank operations
├── 📄 database.txt # Storage file for account data
├── 📄 README.md # Project documentation
├── 📄 Makefile # Build automation (optional)Ensure you have the following installed to run the project:
🔹 GCC Compiler (sudo apt install gcc on Linux/macOS)
🔹 A C Development Environment (VS Code, CodeBlocks, etc.)
git clone https://github.com/your-username/c-bank.git
cd c-bankgcc main.c functions.c -o c-bank./c-bankWhen you run the program, you will be presented with a menu-driven interface:
1️⃣ Create a New Account – Enter details like name, email, and initial deposit.
2️⃣ Deposit Funds – Add money to your account.
3️⃣ Withdraw Funds – Securely withdraw money (ensures no overdrafts).
4️⃣ Check Balance – View your current balance instantly.
5️⃣ Close Account – Remove an account from the system if the balance is zero.
6️⃣ Exit Program – Safely exit the application.
✔ Simple & Lightweight – No complex UI, just a fast and functional console app.
✔ Data Persistence – Your account details are saved securely even after closing the program.
✔ Beginner-Friendly – Ideal for learning C programming, file handling, and basic banking logic.
👩💻 El Hadifi Soukaina
👨💻 El Guelta Mohamed-Saber
🔹 Found a bug? Have suggestions? Open an issue or submit a pull request!
🔹 Let’s improve C-Bank together! 🚀
📩 Contact us: