Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 799 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 799 Bytes

pipeline

text

CreditCardValidator

C++ library to validate a given credit card number

How to use

  1. Create a directory build
mkdir build
  1. Inside build, build the cmake
 cd build/ && cmake ..
  1. Build the shared library (in build/)
make # the binary will be libcreditCardValidator.1.0.0.dylib
  1. Download the lib on your machine (in build/)
cmake -P cmake_install.cmake
  1. (Optionnal) run the unit test
./test_creditCardValidator

How to use in another project

If you want to see how to use it, go to example