You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some useful function are available in utilities.hpp header:
std::string readFile(std::string filePath): returns contents of a file
std::string getExtension(std::string filePath): returns extension of a file based on its name
void printVector(std::vector<std::string>): prints contents of a vector
std::vector<std::string> split(std::string s, std::string d): split string s by delimiter d
std::string urlEncode(std::string const &) & std::string urlDecode(std::string const &): url-encode and url-decode a string, specially useful when passing data through url-encoded forms and urls