19 |
std::string str_toupper(std::string str); |
std::string str_toupper(std::string str); |
20 |
std::string str_tolower(std::string str); |
std::string str_tolower(std::string str); |
21 |
|
|
22 |
|
std::string str_formatint(int i); |
23 |
|
|
24 |
std::string str_replace_char(std::string str, char search, char replace); |
std::string str_replace_char(std::string str, char search, char replace); |
25 |
std::string str_characters(std::string str); |
std::string str_characters(std::string str); |
26 |
|
|
35 |
int uTimeDiff(const timeval& then, const timeval& now); |
int uTimeDiff(const timeval& then, const timeval& now); |
36 |
int mTimeDiff(const timeval& then, const timeval& now); |
int mTimeDiff(const timeval& then, const timeval& now); |
37 |
|
|
38 |
|
timeval GetTimeOfDay(); |
39 |
|
|
40 |
|
int my_system(const char* cmd); |
41 |
|
|
42 |
|
|
43 |
inline void Sleep(unsigned int msec) |
inline void Sleep(unsigned int msec) |
44 |
{ |
{ |
45 |
for (unsigned int i=0; i<msec; ++i) |
for (unsigned int i=0; i<msec; ++i) |