This is a simple expense tracker application where you can add, view, and save your expenses. It allows you to track expenses by categories, notes, and dates.
- Add new expenses with amount, category, note, and date.
- View all recorded expenses.
- Save and load expenses from a file.
- Validation of the date format (YYYY-MM-DD).
-
Compile the Program:
Use the following command to compile the project:g++ -o ExpenseTracker main.cpp FileHandler.cpp ExpenseTracker.cpp Expense.cpp
-
Run the Program: After compiling, run the program:
./ExpenseTracker
-
Menu Options:
- 1: Add a new expense.
- 2: View all expenses.
- 3: Save and exit.
- The program will load the saved expenses from
expenses.txtupon startup. - You can add new expenses, view all recorded ones, and save them back to the file.
- The date format must be in
YYYY-MM-DD.
This project is licensed under the MIT License - see the LICENSE file for details.
We stand for freedom, justice, and peace. Free Palestine!