Skip to content

Calculator calculator to calculate your own calculators in C.

Notifications You must be signed in to change notification settings

Jankatay/Calcuculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Calculate your own calculator.

Usage.

Raise 0^0 to get started. Then zoom out and use the result as button.

Buttons with "X" in them will be applied to what's on the display. So if screen has "+" and you press on a button with "2x3" on it you will get "5." They can be applied to numbers or a mix of numbers and operators as well.

Use "C" to clear screen.

Todo

Currently I would much rather start a new project than improve this one but in the future when I write again from scratch I will be looking out for these.

  • Zooming in too much causes freezing.
  • Memory management is not as efficient as it can/should be.
  • Run through valgrind.
  • Add operator precedence.
  • Use a smaller graphics library. Current executable is 1000kb on linux and 1004 kb on windows. Did manage getting down to 286kb on linux using packers.

Credits

Graphics libraries.

Cross-compiling tools.

Helpful links used

About

Calculator calculator to calculate your own calculators in C.

Resources

Stars

Watchers

Forks

Packages

No packages published