Skip to content

Commit

Permalink
Create outputWriter.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndskg committed Jul 21, 2023
1 parent a8ebd4c commit f8a19b6
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions src/outputWriter.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//
// outputWriter.h
// black-scholes
//
// Created by lyndskg on 7/19/23.
//

#ifndef outputWriter_h
#define outputWriter_h

#include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>

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 */

0 comments on commit f8a19b6

Please sign in to comment.