News for hackers. Stuff that matters.
Re:Show HN: Calc, a simple command-line calulator in C by vivekkannan on Tuesday June 09, 2015 @07:15AM (#9685143)
Obviously, bc is much more capable than calc. However, calc was not created to replace or even compete with bc or any other awesome command-line calculators. calc is my way of learning a bunch of stuffs (shunting yard).
Re:Show HN: Calc, a simple command-line calulator in C by nemoniac on Tuesday June 09, 2015 @07:20AM (#9685161)
First learning tip:

.h files are not the place for definitions.

Re:Show HN: Calc, a simple command-line calulator in C by vivekkannan on Tuesday June 09, 2015 @07:25AM (#9685181)
duly noted. will change it ASAP.