From 16b655e7c8cfb2e32e6bb839373f30ad63506f9a Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 08 Jan 2022 13:28:32 +0000
Subject: [PATCH] Added json parsing, protocol comprehension and began executables for algs

---
 main.cpp |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/main.cpp b/main.cpp
index 612f52f..20d1aa9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,7 +1,15 @@
 #include "book.hpp"
+#include "json.hpp"
+#include "protocol.hpp"
 #include <chrono>
 
 int main(void)
 {
-    Book b = testBook(10, true);
+    book::Book b = book::testBook(10, true);
+    auto bs = protocol::recoverBook();
+    std::cout << bs.size() << std::endl;
+    for (auto i : bs) {
+        std::cout << i.first << std::endl;
+        i.second.printBook();
+    }
 }

--
Gitblit v1.9.3