17 lines
416 B
C++
17 lines
416 B
C++
|
|
#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
|