{"id":19529090,"url":"https://github.com/calculationcollective/cppcalculator","last_synced_at":"2025-07-20T05:33:17.803Z","repository":{"id":72470659,"uuid":"590779542","full_name":"CalculationCollective/CPPCalculator","owner":"CalculationCollective","description":"Calculator in cpp","archived":false,"fork":false,"pushed_at":"2024-04-01T16:08:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-26T02:41:29.594Z","etag":null,"topics":["calculator","cpp"],"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-19T07:27:21.000Z","updated_at":"2023-01-27T15:27:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"35a7bae0-4106-4475-a1a8-975d493c17fd","html_url":"https://github.com/CalculationCollective/CPPCalculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CalculationCollective/CPPCalculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCPPCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCPPCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCPPCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCPPCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CalculationCollective","download_url":"https://codeload.github.com/CalculationCollective/CPPCalculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FCPPCalculator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266071519,"owners_count":23871940,"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":["calculator","cpp"],"created_at":"2024-11-11T01:21:51.433Z","updated_at":"2025-07-20T05:33:12.791Z","avatar_url":"https://github.com/CalculationCollective.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPPCalculator\n\n- [CPPCalculator](#cppcalculator)\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%2Fcppcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalculationcollective%2Fcppcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalculationcollective%2Fcppcalculator/lists"}