edit scripts
[c11concurrency-benchmarks.git] / gdax-orderbook-hpp / gdax-orderbook.hpp
index baa0ea0799db025c463a7893f2203f816ba1b28d..c3e59ebc5d9311fd067cb996cefd58978a7c207a 100644 (file)
@@ -16,6 +16,7 @@
 #include <websocketpp/client.hpp>
 #include <websocketpp/concurrency/none.hpp>
 #include <websocketpp/config/asio_client.hpp>
+#define FILENAME "example90.txt"
 
 /**
  * A copy of the GDAX order book for the currency pair product given during
@@ -175,7 +176,7 @@ private:
                 {
 
                /*if(!myfile.is_open())
-                       myfile.open("example.txt");
+                       myfile.open(FILENAME);
                if(myfile.is_open())
                  {
                    myfile <<msg->get_payload().c_str()<<std::endl;
@@ -198,7 +199,7 @@ private:
 
 
            if(!myfile.is_open())
-               myfile.open("example.txt");
+               myfile.open(FILENAME);
            std::string line;
            while ( std::getline(myfile,line) )
            {