Scientific Calculator Program

Scientific Calculator - C Implementation

Scientific Calculator - C Implementation

This graphical scientific calculator purely written in C programming language. It uses small functions to draw buttons on the screen and perform scientific operations like conversion, logarithm, and other operations. Every operation can be performed using the mouse buttons as well as keyboard. It can perform almost all the functions shown on the screen except few functions which will be implemented in the next version of this calculator code.

Before compilation make sure you change the line ( initgraph(&gdriver, &gmode, “f:\\tc\\bgi”);) to show the actual path of the graphics library on your machine i.e. bgi folder of your turbo C/C++ compiler installation.

Here are the few functions this calculator performs.

  • It performs the conversion from decimal to (Binary, Octal and Hex decimal) values.
  • Calculates Sign, Tangant and Sec, Coses, Cot.
  • Log, Antilogarithm, Exponent, power values.
  • Also it can store numbers in memory, find the square root of any number.


  Calculator (110.9 KiB, 36,537 hits)

Graphical Scientific Calculator written in C programming language

M. Saqib: Saqib is Master-level Senior Software Engineer with over 14 years of experience in designing and developing large-scale software and web applications. He has more than eight years experience of leading software development teams. Saqib provides consultancy to develop software systems and web services for Fortune 500 companies. He has hands-on experience in C/C++ Java, JavaScript, PHP and .NET Technologies. Saqib owns and write contents on since 2004.
Related Post