add flag handling and header guards

This commit is contained in:
2025-03-06 14:12:10 +01:00
parent 0d11dbec32
commit 98b6b8df7e
13 changed files with 119 additions and 26 deletions
+10 -1
View File
@@ -1,4 +1,8 @@
#include "timetable.h"
#include <nlohmann/json.hpp>
#include "net.h"
using nlohmann::json;
#define NLINES 10
#define NCOLS 40
@@ -9,5 +13,10 @@
#define DEFAULT_PADDING 4
void timetable_page() {
// DONT FORGET TO UNCOMMENT
json resp_from_api = bakaapi::get_data_from_endpoint("api/3/marks");
// std::ifstream f("test-data/marks3.json");
// json resp_from_api = json::parse(f);
// calculate table size
}