diff --git a/exercice_2/README.md b/exercice_2/README.md index 19c0238..449a21d 100644 --- a/exercice_2/README.md +++ b/exercice_2/README.md @@ -1,28 +1,28 @@ code created by Marti Bosch (marti.bosch@epfl.ch) and Marc Schwaerzel (marc.schwaerzel@epfl.ch) # Exercise 1 # Exercise 2 exercice 2.1: a good strategy to work both of us on different parts at the same is to define edit the "class Series" together and then do exercice 2 and 3 separately by using the mother/daughter classes as seen in the lecture. We thought about this strategy but it was not really conclusive as I (Marc Schwaerzel) started to implement series as in the exercices of week 5. Finally we simplified things and came back to out initial strategy. # Exercise 3 # Exercise 4 # Exercise 5 # Run the code To run the code follow the instructions: 1) create a new directory in the exercice_2 directory and go into that folder: $ mkdir build $ cd build 2) compile the code: $ cmake ../ $ make -3) run the code with A, B beeng respectively (A: serie_type -- 1 is compute_arithmetic -- 2 is compute_pi, B: maxiter): +3) run the code with following arguments: --frequency --maxiter --serie_type (pi or arithmetic) --dump_type (print or write): - $ ./src/main A B + $ ./src/main frequency maxiter serie_type dump_type