merge from hugo, add parsing requests and wip cgi
This commit is contained in:
13
srcs/ft_itoa.cpp
Normal file
13
srcs/ft_itoa.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
# include <sstream>
|
||||
# include <string.h>
|
||||
|
||||
char* itoa(int n)
|
||||
{
|
||||
std::stringstream strs;
|
||||
char * str;
|
||||
|
||||
strs << n;
|
||||
str = (char*)(strs.str().c_str());
|
||||
return (str);
|
||||
}
|
||||
Reference in New Issue
Block a user