Giter VIP home page Giter VIP logo

tinycalculator's Introduction

Tiny Calculator C++

Tiny Calculator is a C++ file that allows you to use math functions like addition, subtraction, multiplication, division, exponentiation, square root, and the log functions from the command prompt.

Installation and How To Use

This section is combined because you will already be in a terminal when cloning the project:

  1. Forking from github repository
  2. Using command prompt (or your device's equivalent)

Forking from Repository

In order to this click the fork button on the top right corner of the screen. Then follow this tutorial on how to set up a github project: https://docs.github.com/en/get-started/quickstart/fork-a-repo

Using Command Prompt

(Note: must have g++ compiler)

  1. Put main.cpp, main.hpp, and pi.txt into a local folder of choice
  2. Using command prompt navigate to the local folder with the files
  3. Run the following commands:
$ g++ main.cpp -o executable_name_here.exe
$ executable_name_here.exe

From here type e to exit the program or press h to look at math operations to use

Contributors

tinycalculator's People

Contributors

eduardojtr avatar pandeym1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.