changed itoa to c++ style and put it in utils, and change utils dependencies to not depend on webserv

This commit is contained in:
hugogogo
2022-07-31 13:19:22 +02:00
parent af8dc072c1
commit 537572e2d0
7 changed files with 17 additions and 64 deletions

View File

@@ -1,10 +1,12 @@
#ifndef UTILS_HPP
# define UTILS_HPP
# include <vector>
# include <string>
# include <sstream>
std::vector<std::string> split(std::string input, char delimiter);
std::vector<std::string> split(std::string input, char delimiter);
char* itoa(int n);
#endif