Compiles now

This commit is contained in:
Love 2025-01-22 13:24:08 +01:00
parent f9dc3628f4
commit 2295fdc3ce
4 changed files with 14 additions and 2 deletions

7
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"files.associations": {
"iostream": "cpp",
"vector": "cpp",
"format": "cpp"
}
}

View File

@ -9,6 +9,7 @@
#include "Page.hpp"
#include <iostream>
#include <format>
#include "stringutil.hpp"
#include "cpr/cpr.h"

View File

@ -9,11 +9,14 @@
#pragma once
#include <vector>
#include <string>
#include <cstdint>
static constexpr uint_fast8_t DEFAULT_NUMBER = 100;
static constexpr uint_fast8_t MAX_WHITESPACE = 2;
class Page {
class Page
{
private:
uint_fast8_t number{};
std::vector<std::string> subpages;
@ -31,7 +34,6 @@ public:
std::string str() const;
bool refresh();
private:

View File

@ -1,5 +1,7 @@
#pragma once
#include <string>
#include <cstdint>
/**
* @brief String utility functions.