dgquvn / repo

1 stars 1 forks source link

HOWTO execute FizzBuzz? #15

Closed jayjaybillings closed 7 years ago

jayjaybillings commented 7 years ago

How do I execute this code? When I do

mkdir build
cd build
cmake ..
make
make test
./FizzBuzz_v2

I get

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted (core dumped)

What files and arguments to I need to run the code? It would be best to put this information in the README.md file.

dgquvn commented 7 years ago

Right now I can only do this ./FizzBuzz_v2 input.txt output.txt if the data files are in the build directory, Otherwise, they need to be specified the whole directory. I am adding boost/program_options soon.

dgquvn commented 7 years ago

boost/program_options added and added README.md

dgquvn commented 7 years ago

I think this should be closed now