2013-06-04 19:50:16 -04:00
|
|
|
#ifndef UTIL_H
|
|
|
|
|
#define UTIL_H
|
|
|
|
|
|
2013-06-13 14:25:10 -04:00
|
|
|
#ifndef NULL
|
|
|
|
|
#define NULL 0
|
|
|
|
|
#endif
|
|
|
|
|
|
2013-08-11 01:15:26 -04:00
|
|
|
#include <iostream>
|
2013-06-04 19:50:16 -04:00
|
|
|
#include <string>
|
|
|
|
|
#include <sstream>
|
2014-01-19 18:20:52 -05:00
|
|
|
#include <vector>
|
2013-06-04 19:50:16 -04:00
|
|
|
|
|
|
|
|
std::string intToString(int theInt);
|
2013-08-11 01:15:26 -04:00
|
|
|
std::string replaceExEscape(std::string first, std::string search, std::string replace);
|
2013-12-19 10:39:36 -06:00
|
|
|
std::string strSlice(std::string str, int begin, int end);
|
2014-01-07 21:31:56 -05:00
|
|
|
int findPerenEnd(std::string str, int i);
|
2014-01-19 18:20:52 -05:00
|
|
|
std::vector<std::string> split(const std::string &str, char delim);
|
|
|
|
|
std::string join(const std::vector<std::string> &strVec, std::string joinStr);
|
2013-06-04 19:50:16 -04:00
|
|
|
|
2013-10-25 02:42:12 -07:00
|
|
|
#endif
|