Simple Calculator Program - Version 0.0.3
2024-02-01.18-55-48.mp4
Overview
Welcome to the release of the Simple Calculator program version 0.0.3! This release includes zero bug fixes, minor updates, and a few features to add more functionality. 😄
Features
1. New Features
- Basic history functionality was improved
Old:
std::ofstream mathdata("history.mdta"); mathdata << "[" << double1 << "] [" << double2 << "]\n"; mathdata << double1 + double2 << "\n"; mathdata.close();
New:
mathdata << "--------------------------------------------------------\n"; mathdata << "User: " << name << "\n"; mathdata << "[" << double1 << "]" << " + " << "[" << double2 << "]\n"; mathdata << " = " << double1 + double2 << "\n"; mathdata << "--------------------------------------------------------\n"; mathdata.close();
Usage
-
Download the Release:
- Visit the Releases page.
- Download the ZIP file.
-
Installation:
- Extract the ZIP file to your desired location.
- Run the executable file to launch the calculator.
-
Calculator Interface:
- Follow the on-screen instructions to input your name and perform calculations and other program functions.
What's Changed
- update by @saifdarwish in #1
- Added new operation and made some stability changes by @saifdarwish in #2
- Changed history output file and some other small changes by @saifdarwish in #3
- Usage changes by @saifdarwish in #4
New Contributors
- @saifdarwish made their first contribution in #1
Full Changelog: v0.2...v0.3
Example Usage
Simple Calculator [v0.3]
What is your name?
John
Welcome to my simple calculator, John.
Enter first number of the equation. (1 number!):10
Do you want to find the root or a power of the first number?
Enter [y] for yes or [n] for no
n
Add the second number: 5
[10] [5]
[+][-][*][/][%]
+
15
Do you want to clear the history? [y] for yes or [n] for no
n
Do you want to quit now? [y] for yes or [n] for no
y