merged from master and relocate headers inside srcs
This commit is contained in:
16
srcs/utils.hpp
Normal file
16
srcs/utils.hpp
Normal 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
|
||||
Reference in New Issue
Block a user