Skip to content

A simple geometer program that runs on a command line interface

License

Notifications You must be signed in to change notification settings

headdawnLight/cpp-cli-geometer

Repository files navigation

cpp-cli-geometer

This is a simple geometric calculation program that performs various geometrical operations and runs in a command line interface. It was developed on Microsoft Visual Studio 2019 with the C++ programming language.

Introduction

The geometric calculation of objects has a history going back to ancient Egypt. While trying to calculate the areas of agricultural lands, the ancient Egyptians discovered geometric formulas and built the pyramids with these formulas.

We can calculate the circumference, area and volume of an object using geometric formulas. Perimeter and area calculations are two-dimensional (width and height) geometric calculations. Volume calculations are three-dimensional (width, height and depth) geometric calculations.

In the first version of Geometer, simple two-dimensional geometric presentations, formulas and calculations (square, triangle, rectangle) are available. I made such a choice because of its simple display in the command line interface. Volume calculations and more geometric presentations and calculations may be added in future versions.

This is the second program I developed while learning the basics of programming. You can access the source code of this program and run and test it in your own development environment.

Technology and tools I used while developing this program:

  • Microsoft Visual Studio 2019
  • C++
  • Git
  • GitHub

Installation

Clone the repository:

$ git clone https://github.com/headdawnLight/cpp-cli-geometer.git

Run and test the source codes in your own development environment.

Usage

Step by step

  1. Enter the number code to see one of the geometric shapes listed in the menu.

welcome

  1. Enter the required edge lengths for geometric calculations. (Please use numeric values.)

rect

  1. The program completes the geometric area and perimeter calculation and returns to the menu.

rectresult

  1. Go back to the first step to start over.

License

MIT License

Copyright (c) 2021 Sertan Işık

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple geometer program that runs on a command line interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages