Giter Club home page Giter Club logo

liwa-dev / cppwincalc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 587 KB

This is a simple calculator application built using C++. It allows to perform basic arithmetic operations, including addition, subtraction, multiplication, and division. The calculator also supports calculating squares, square roots, and powers. The program features user input validation and a clear screen function to enhance usability.

License: MIT License

C++ 100.00%

cppwincalc's Introduction

CppWinCalc

CppWinCalc is a simple command-line calculator application written in C++. It's my first C++ mini project as I'm learning the language.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, and division
  • Advanced operations: power, square, and square root
  • Input validation for numbers
  • Clear screen functionality for better user experience

How to Use

  1. Run the exe program and enjoy :)
  2. Choose an operation by entering a number from 1 to 8
  3. Enter the required numbers when prompted
  4. View the result

Learning Journey

This project represents my first steps in C++ programming. It demonstrates basic concepts such as:

  • Input/output operations
  • Control structures (if-else, switch, while)
  • Functions
  • Arrays and strings
  • Basic error handling

Future Improvements

As I continue learning C++, I plan to enhance this calculator with more features and improved code structure in future.

Feedback

Feel free to provide any feedback or suggestions for improvement. Happy calculating!

License

This project is licensed under the MIT License - see the LICENSE file for details.

cppwincalc's People

Contributors

liwa-dev avatar

Stargazers

 avatar

Watchers

 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.