Skip to content

pandusonu2/advCalc

Repository files navigation

advCalc

Reimplementation of calc from scratch.

Build and Execute

First clean everything:

$ make cleanall

Then start the build:

$ make

You can start the calculator using:

$ ./calc

provided you have compiled it successfully. For a systemwide installation do:

$ sudo make install

Now you will be able to execute it using:

$ calc

How to Contribute

To look at the program flow you need to be able to debug. To do so first create a debugger friendly executable. Start by removing any executable you had previously built:

$ make cleanall

then build the source code using:

$ make CFLAGS+=-ggdb

which will enable GDB friendly debugging information. For other debuggers use -g instead of -ggdb.

About

Modified version of calc from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.0%
  • CMake 15.5%
  • Makefile 1.2%
  • Other 1.3%