{"id":19529082,"url":"https://github.com/calculationcollective/ccalculator","last_synced_at":"2026-06-11T03:31:49.618Z","repository":{"id":72470640,"uuid":"590969722","full_name":"CalculationCollective/CCalculator","owner":"CalculationCollective","description":"Calculator in C","archived":false,"fork":false,"pushed_at":"2023-01-20T09:25:39.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-26T02:41:29.252Z","etag":null,"topics":["c","calculator"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CalculationCollective.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-01-19T16:28:23.000Z","updated_at":"2023-01-27T15:27:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"719d9b0c-e268-4973-aab5-c449510f6a7a","html_url":"https://github.com/CalculationCollective/CCalculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CalculationCollective/CCalculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CalculationCollective","download_url":"https://codeload.github.com/CalculationCollective/CCalculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34181554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"],"created_at":"2024-11-11T01:21:49.489Z","updated_at":"2026-06-11T03:31:49.601Z","avatar_url":"https://github.com/CalculationCollective.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCalculator\n\n- [CCalculator](#ccalculator)\n  - [Build the calculator](#build-the-calculator)\n  - [Use the calculator](#use-the-calculator)\n\n\n## Build the calculator\nTo build this project you will need make and CMake.\nTo start we'll need a folder prefered with the name build.\n\n```bash\nmkdir build\n```\n\nAfter we createt the folder we go into it and execute the CMake command.\n\n```bash\ncmake ../src\n```\n\nThe `../src` should show to the src directory in this project.\n\nYou can build it with\n```bash\nmake\n```\n\nWe now should have a `calculator` file in our folder. We can easily execute this with \n\n```bash \n./calculator\n```\n\n## Use the calculator\n\nAfter executing the calculator you can enter the first number.\n```bash\nEnter first number: 5 # 5 is the input\n```\nThen choose between the calculation functions.\n```bash\nChoose between:\n1)Addition\n2)Subtraction\n3)Multiplication\n4)Division\n1 # \u003c This is our input\n```\nWe now can enter the second number\n```bash\nEnter second number: 2 # 2 is the input\n```\nNow it should give the right output.\n```bash\n7 # 7 is the return value\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalculationcollective%2Fccalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalculationcollective%2Fccalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalculationcollective%2Fccalculator/lists"}