Skip to content

A basic calculator created with C. It's a simpler version of CCalculator.

License

Notifications You must be signed in to change notification settings

deusbalatro/ccalculator-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CCalculator Basic

A simpler version of CCalculator

Functionalities

  • Supports 5 operations (addition, subtraction, multiplication, division, exponentiation)
  • Delete function
  • Clear function
  • Use the result feature
  • Fully operable via keyboard input
  • Fully operable via mouse input

Since this is a simplified version of CCalculator (my advanced CCalculator project), it can only perform operations on two numbers, such as (2 + 2), as it utilizes the switch statement provided by the language itself.

  • "Programming in ANSI C" by Loughborough University Institutional Repository (Chapter 7.3)
  • ISO/IEC 9899:2017 standards, Section 6.8.4.2

How to Use

You need a compiler to run the calculator.

You can check out this tutorial on how to compile C programs.

Also, you need to install the GTK library since the program uses GTK for the graphical user interface.

About

A basic calculator created with C. It's a simpler version of CCalculator.

Topics

Resources

License

Stars

Watchers

Forks

Languages