diff --git a/src/outputWriter.h b/src/outputWriter.h new file mode 100644 index 0000000..fabeae9 --- /dev/null +++ b/src/outputWriter.h @@ -0,0 +1,41 @@ +// +// outputWriter.h +// black-scholes +// +// Created by lyndskg on 7/19/23. +// + +#ifndef outputWriter_h +#define outputWriter_h + +#include +#include +#include +#include + +using namespace std; + +class outputWriter { +// ---------------------------------------------------------------------------- +// "outputWriter" Class Declarations +// ---------------------------------------------------------------------------- +public: +/*------------------------------ CONSTRUCTORS ------------------------------*/ + // Default constructor. + outputWriter(); + + // Default destructor. + ~outputWriter(); + + void writeToConsole(const string& data); + + void writeToFile(const string& filename, const string& data); + + +private: +// ---------------------------------------------------------------------------- +// "outputWriter" Member Variables +// ---------------------------------------------------------------------------- +}; + +#endif /* outputWriter_h */