merged from master and relocate headers inside srcs

This commit is contained in:
hugogogo
2022-08-01 20:33:06 +02:00
21 changed files with 552 additions and 374 deletions

16
srcs/utils.hpp Normal file
View File

@@ -0,0 +1,16 @@
#ifndef UTILS_HPP
# define UTILS_HPP
# include <vector>
# include <string>
# include <sstream>
# include <cstdlib> // atoi
std::vector<std::string> split(std::string input, char delimiter);
bool isNumeric(std::string str);
bool isNumeric_btw(int low, int high, std::string str);
std::string itos(int n);
std::string trim(std::string str, char c);
#endif