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>
|
|
|
|
|
|
|
|
|
|
std::string intToString(int theInt);
|
2013-06-23 05:54:58 -04:00
|
|
|
std::string truncateEnd(std::string to_truncate);
|
|
|
|
|
std::string removeBeginning(std::string to_remove);
|
2013-08-11 01:15:26 -04:00
|
|
|
std::string replaceExEscape(std::string first, std::string search, std::string replace);
|
2013-06-04 19:50:16 -04:00
|
|
|
|
|
|
|
|
#endif
|