Skip to content

Repository files navigation

goal

a simple triangle calculator lib with a thin CLI wrapper

requirements

vcpkg, a guide can be found here CMake a cpp compiler (clang, g++ or mvsc)

clone the repo

git clone https://github.com/Encoded404/cppTriangleCalculator cd cppTriangleCalculator

configure

cmake -S . -B build --preset default

build

cmake --build build

you can also only build one config if that is wanted cmake --build build --preset debug (debug|release|relwithdebinfo)

run tests

ctest --test-dir build/ -C Debug (Debug|Release|RelWithDebInfo)

solve a triangle

Linux:

  • ./build/src/app/Debug/TriangleCalculator --help
  • ./build/src/app/Debug/TriangleCalculator -c 60 ? ? 5 ? 5

About

a cpp library/CLI application to calculate triangle angles and lengths

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages