Skip to content
/ calc Public

Small CLI calculator that can calculate a basic mathematical expression when passed as an argument without spaces.

Notifications You must be signed in to change notification settings

Kerberoge/calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

calc

Small CLI calculator that can calculate a basic mathematical expression when passed as an argument without spaces.

Since I wanted to learn C, I started this project with the intention of becoming comfortable with the C language, while also creating what I was missing in a tiling window manager setup: a lightweight cli calculator written in C. While working on this project, I have realised how valuable it is to have a clear image of what you want to create when coding a program, but I also discovered that programming in C makes you think in a very fundamental manner.

Notice: there's a commented function named print_arr at the end of calc.h. Use this function whenever you need the program to be verbose by calling it whenever you like in calc.c.

About

Small CLI calculator that can calculate a basic mathematical expression when passed as an argument without spaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages