{"id":15720695,"url":"https://github.com/carmjos/calculator","last_synced_at":"2026-04-29T18:32:43.363Z","repository":{"id":242550763,"uuid":"809544146","full_name":"CarmJos/calculator","owner":"CarmJos","description":":hash: Lightweight \u0026 Simple graphical math calculator application based on C language. (for Practical Training) ","archived":false,"fork":false,"pushed_at":"2024-06-17T11:42:27.000Z","size":1735,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T22:47:04.904Z","etag":null,"topics":["c","calculator","gtk","gtk4","lightweight","math","schoolwork"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarmJos.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":"2024-06-03T01:12:06.000Z","updated_at":"2025-03-18T06:09:59.000Z","dependencies_parsed_at":"2024-10-24T16:44:18.485Z","dependency_job_id":null,"html_url":"https://github.com/CarmJos/calculator","commit_stats":null,"previous_names":["carmjos/calculator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2Fcalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2Fcalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2Fcalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarmJos%2Fcalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarmJos","download_url":"https://codeload.github.com/CarmJos/calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390856,"owners_count":20769476,"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":["c","calculator","gtk","gtk4","lightweight","math","schoolwork"],"created_at":"2024-10-03T21:59:50.724Z","updated_at":"2026-04-29T18:32:43.310Z","avatar_url":"https://github.com/CarmJos.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"```text\n  ___ __ _| | ___ _   _| | __ _| |_ ___  _ __ \n / __/ _` | |/ __| | | | |/ _` | __/ _ \\| '__|\n| (_| (_| | | (__| |_| | | (_| | || (_) | |   \n \\___\\__,_|_|\\___|\\__,_|_|\\__,_|\\__\\___/|_|                                          \n```\n\nREADME LANGUAGES [ [**English**](README.md) | [中文](README_zh_CN.md)  ]\n\n# **Calculator** (C11 \u0026 GTK4)\n\n_School practical work for the subject of Programming Languages,\nin the Internet of Things Engineering course at the Jiangsu University._\n\nA lightweight \u0026 simple calculator application that can perform basic arithmetic operations, based on C11 language\nwith [GTK4](https://www.gtk.org/).\n\n![demo](.doc/demo.png)\n\nAny questions or suggestions are welcome to contact me\nvia email [**carm@carm.cc**](mailto:carm@carm.cc)\nor using [**issues**](https://github.com/CarmJos/calculator/issues/new) (recommend) .\n\n## Features\n\n![demo](.doc/demo.gif)\n\n- Basic arithmetic operations: addition, subtraction, multiplication, division.\n- Basic operations: clear, delete, and equal.\n- Advanced operations: square root, cubed root, and factorial, etc.\n- Based on double numbers.\n- Support for keyboard \u0026 mouse input.\n- Simple \u0026 Elegant UI.\n\n## Development\n\n![GTK](.doc/GTK.png)\n\nThis project depends on [GTK4](https://www.gtk.org/),\nso make sure your system has installed the [related runtime libraries](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer).\n\nThis project is developed using the CLion IDE and built with CMake, \nso you need to install minGW-w64 and CMake to compile and develop normally.\n\n## Design\n\n- **Structure**: Functions are implemented by classification, and each class is responsible for a separate function.\n- **Interface**: Use GTK4's CSS style sheet for interface design, which is simple and elegant.\n- **Logic**: Use state machine design to implement operators for easy expansion.\n- **Link**: Use GTK4's signal and slot mechanism to separate the interface from the logic.\n\n## Open Source Licence\n\nThe source code of this project adopts the [GNU General Public License v3.0](https://opensource.org/licenses/GPL-3.0).\n\n## Supports\n\nMany thanks to Jetbrains for kindly providing a license for us to work on this and other open-source projects.  \n[![](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://www.jetbrains.com/?from=https://github.com/CarmJos/calculator)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Fcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarmjos%2Fcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarmjos%2Fcalculator/lists"}