brodriguez8774 / CS4900_QuadraticSolver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C - Quadratic Solver

Authors

  • Steven Johnson
  • Brandon Rodriguez
  • Joshua Sziede

Description

A console program to solve quadratic equations. See program help for more details.

Building and Running

To build run:

$ make

Now you can run the program and see the help text:

$ src/quad_solver -h

For development, you should use valgrind. First install valgrind if not installed:

$ sudo apt install valgrind

Then to build and run valgrind on the executable, run:

$ make valgrind

Valgrind will report pointers that were allocated but not freed.

Distributing

To create a .tar.gz of source files run:

$ make distribute

The file will be named quad-solver-.tar.gz

Testing

To run all the tests:

$ make test

About

License:GNU General Public License v3.0


Languages

Language:C 83.7%Language:Makefile 12.1%Language:Shell 3.2%Language:C++ 1.0%