{"id":20031743,"url":"https://github.com/astrodynamic/line-calculator-with-graph-output-in-cpp-qt","last_synced_at":"2026-03-12T08:33:05.263Z","repository":{"id":155833128,"uuid":"554126448","full_name":"Astrodynamic/Line-calculator-with-graph-output-in-CPP-Qt","owner":"Astrodynamic","description":"Engineer, credit and debit calculator. GUI implementation, based on any GUI library with Qt API for C++17. It allows arithmetic calculations, graph plotting, and variable calculation. ","archived":false,"fork":false,"pushed_at":"2023-05-07T05:11:37.000Z","size":26067,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-12T18:09:37.939Z","etag":null,"topics":["algorithm","calculator","cmake","cpp17","gui","makefile","math","qt","qt6","rpn","widgets"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Astrodynamic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-19T09:42:30.000Z","updated_at":"2025-01-10T10:24:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"d82fe0f0-5f16-4762-8efc-7d60131142a7","html_url":"https://github.com/Astrodynamic/Line-calculator-with-graph-output-in-CPP-Qt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrodynamic%2FLine-calculator-with-graph-output-in-CPP-Qt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrodynamic%2FLine-calculator-with-graph-output-in-CPP-Qt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrodynamic%2FLine-calculator-with-graph-output-in-CPP-Qt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrodynamic%2FLine-calculator-with-graph-output-in-CPP-Qt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astrodynamic","download_url":"https://codeload.github.com/Astrodynamic/Line-calculator-with-graph-output-in-CPP-Qt/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241462611,"owners_count":19966894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","calculator","cmake","cpp17","gui","makefile","math","qt","qt6","rpn","widgets"],"created_at":"2024-11-13T09:34:34.359Z","updated_at":"2025-10-27T07:18:07.586Z","avatar_url":"https://github.com/Astrodynamic.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Line calculator with graph output\n\n## General Information\nCalculator v1.0 is a command-line based and GUI scientific calculator developed in C++17. It allows users to perform arithmetic calculations, plot graphs of functions, and calculate the values of variables. The program is built using the Model-View-Controller (MVC) pattern, and its classes are implemented within the `SmartCalc` namespace. The calculator can handle both integers and real numbers with a dot, and allows input of numbers in exponential notation.\n\n## Build\nThe program can be built using the Makefile provided. The following targets are available:\n- `all`: builds the program and runs the `install` target.\n- `build`: installs the program.\n- `rebuild`: removes any existing installation of the program, builds it, and installs it.\n- `install`: installs the program.\n- `unistall`: removes the program from the system.\n- `clean`: removes any existing installation of the program and cleans up any build artifacts.\n- `cppcheck`: runs the `cppcheck` tool to check for errors in the code.\n- `clang-format`: runs the `clang-format` tool to format the code.\n- `tests`: builds and runs the unit tests for the program.\n\nTo build the program, run the following command:\n```\nmake all\n```\n\n## Usage\nAfter building the program, run it using the following command:\n```\n./Calculator\n```\nThis will launch the GUI-based calculator. The program will accept input of arithmetic expressions and plot graphs of functions.\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./data/main.png\" alt=\"Main\" width=\"50%\"\u003e\n  \u003cimg src=\"./data/graph.png\" alt=\"Graph\" width=\"50%\"\u003e\n  \u003cimg src=\"./data/credit.png\" alt=\"Credit\" width=\"50%\"\u003e\n  \u003cimg src=\"./data/debit.png\" alt=\"Debit\" width=\"50%\"\u003e\n\u003c/div\u003e\n\n\n## Dependencies\nThe program depends on the following libraries:\n- GTest\n- Qt 6\n\n## Development\nThe code for this project is located in the `sourse` folder. Classes are implemented within the `SmartCalc` namespace. The project follows the Google style guide for C++ code.\n\n## Examples of Usage\n- To perform arithmetic calculations, simply enter an arithmetic expression into the calculator and press `=`. The result will be displayed in the output area.\n- To plot a graph of a function, enter an expression in infix notation with the variable `x`. Then click on the `Plot Graph` button. The graph will be displayed in the output area.\n- To calculate the value of a variable, enter an expression in infix notation with the variable `x`, and then click on the `Calculate` button. The result will be displayed in the output area.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrodynamic%2Fline-calculator-with-graph-output-in-cpp-qt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrodynamic%2Fline-calculator-with-graph-output-in-cpp-qt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrodynamic%2Fline-calculator-with-graph-output-in-cpp-qt/lists"}