A modern C++
banking application with SQLite integration for persistent data storage.
- Secure account management
- Account creation with validation
- Login system
- Account details viewing
- Card management
- Automatic card number generation
- PIN and CSV security
- Card-account linking
- Balance operations
- Deposits and withdrawals
- Real-time balance updates
- Synchronized account-card balance
- SQLite database integration
- Persistent data storage
- Transaction safety
- Automated database setup
- C++17
- SQLite3
- Visual Studio 2022 build system
- PowerShell automation
- Visual Studio 2022 (recommended) with C++ workload
- G++ compiler (optional for alternative build method)
- Git
- PowerShell
- SQLite3 (automatically installed via setup script)
git clone https://github.com/Ho11ow1/Banking_Program_v2
cd Banking_Program_v2
# Open PowerShell as Administrator and run:
.\setup-sqlite.ps1
1. Open 'ConsoleApplication2.sln'
2. Build: 'Ctrl + Shift + B'
3. Run: 'Ctrl + F5'
cd ConsoleApplication2
g++ main.cpp src/*.cpp src/util/*.cpp -I./src -I./sqlite/include -L./sqlite/lib -lsqlite3 -o Bank
./Bank
ConsoleApplication2/
├── src/
│ ├── account.cpp/h # Account management
│ ├── banking.cpp/h # Main application logic
│ ├── card.cpp/h # Card operations
│ ├── database.cpp/h # SQLite integration
│ ├── constants.h # Global constants
│ └── util/ # Utility functions
├── sqlite/ # SQLite dependencies
└── main.cpp # Entry point
- Run PowerShell as Administrator
- Enable script execution:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
- Verify Visual Studio C++ workload installation
- Check SQLite files in sqlite/include and sqlite/lib
- Ensure correct platform (x64) selection
- Verify sqlite3.dll presence in executable directory
- Check database file permissions