Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivam-0804/gui-calculator
Scientific Calculator
https://github.com/shivam-0804/gui-calculator
cpp ds qt5 qtcreator
Last synced: 2 months ago
JSON representation
Scientific Calculator
- Host: GitHub
- URL: https://github.com/shivam-0804/gui-calculator
- Owner: Shivam-0804
- Created: 2024-03-07T15:13:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-08T17:52:25.000Z (10 months ago)
- Last Synced: 2024-10-12T00:44:52.177Z (2 months ago)
- Topics: cpp, ds, qt5, qtcreator
- Language: C++
- Homepage:
- Size: 355 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scientific Calculator
This project is a scientific calculator implemented in C++ using the Qt framework to provide a graphical user interface (GUI). It offers various mathematical functionalities, including basic arithmetic operations, trigonometric functions, logarithms, and calculation history recording.
## Features
- **Basic Arithmetic Operations**: Addition, subtraction, multiplication, and division.
- **Trigonometric Functions**: Calculate sine, cosine, tangent, etc.
- **Logarithmic Functions**: Compute logarithms of numbers.
- **Calculation History**: Record and display the history of calculations performed by the user.### Operations Utilized
- **Class**: Object-oriented programming concepts are used to structure the codebase.
- **Inheritance**: Inheritance is employed to create derived classes with specialized functionality.
- **Maths Functions**: Standard mathematical functions provided by the C++ `` library are utilized for calculations.
- **Vector**: The `std::vector` container is used to store calculation history.
- **Try and Catch**: Exception handling with `try` and `catch` blocks is implemented to handle errors gracefully.
- **Stack**: A stack data structure may be used internally for expression evaluation or calculation history storage.
- **File Handling**: File handling operations are employed for saving and loading calculation history to/from disk.## Getting Started
To use the calculator, follow these steps:
1. Clone the repository to your local machine.
2. Open the project in your preferred C++ IDE (e.g., [Qt Creator](https://www.qt.io/)).
3. Build and run the project.
4. Use the GUI interface to perform calculations.## Dependencies
This project relies on the following dependencies:
- Qt framework
Ensure that you have Qt installed on your system before building and running the project.
## Usage
Upon launching the application, you'll be presented with a user-friendly interface containing buttons for digits, arithmetic operators, trigonometric functions, logarithm, memory operations (e.g., clear, recall), and calculation history.
Simply click on the buttons to input your desired calculations and view the results on the display area.
## Contributing
Contributions are welcome! If you'd like to contribute to this project, please fork the repository, make your changes, and submit a pull request. Please ensure your contributions adhere to the following guidelines:
- Follow the coding style and conventions used throughout the project.
- Provide clear and concise commit messages.
- Test your changes thoroughly before submitting a pull request.### Contributors
- Shivam-0804
- Abhinav
- Aryan
- Sabeeh## License
This project is licensed under the MIT License.
## Acknowledgments
- This project was made possible by the Qt framework.
- Thanks to the contributors who helped improve and test the calculator.
reduce the size of image![image](https://github.com/Shivam-0804/GUI-Calculator/assets/124515617/f3ba49bc-f966-4aa1-b10e-1181e850459e)