IRC SERVER
The goal of this project is to make you write your own IRC server.
functions.hpp
Go to the documentation of this file.
1 /* ************************************************************************** */
2 /* */
3 /* ::: :::::::: */
4 /* functions.hpp :+: :+: :+: */
5 /* +:+ +:+ +:+ */
6 /* By: aborboll <[email protected]> +#+ +:+ +#+ */
7 /* +#+#+#+#+#+ +#+ */
8 /* Created: 2022/03/09 17:13:29 by aborboll #+# #+# */
9 /* Updated: 2023/03/23 16:34:36 by aborboll ### ########.fr */
10 /* */
11 /* ************************************************************************** */
12 
13 #ifndef FUNCTIONS_H
14 #define FUNCTIONS_H
15 
16 #include <string>
17 #include <vector>
18 
19 std::string itoa(int a);
20 std::vector<std::string> split(const std::string &str, const std::string &delimiters);
21 std::string to_lower(std::string str);
22 bool is_number(const std::string &s);
23 
24 #endif
to_lower
std::string to_lower(std::string str)
Definition: functions.cpp:29
split
std::vector< std::string > split(const std::string &str, const std::string &delimiters)
Definition: functions.cpp:37
is_number
bool is_number(const std::string &s)
Definition: functions.cpp:53
itoa
std::string itoa(int a)
Definition: functions.cpp:15