includes cleaning

This commit is contained in:
Andrzej Rybczak
2009-02-10 12:19:59 +01:00
parent b607617193
commit f9f5149b76
27 changed files with 137 additions and 126 deletions

View File

@@ -19,6 +19,8 @@
***************************************************************************/
#include <algorithm>
#include <sstream>
#include "misc.h"
/*int Abs(int num)
@@ -26,17 +28,17 @@
return (num < 0 ? -num : num);
}*/
void ToLower(string &s)
void ToLower(std::string &s)
{
transform(s.begin(), s.end(), s.begin(), tolower);
}
int StrToInt(string str)
int StrToInt(std::string str)
{
return atoi(str.c_str());
}
string IntoStr(int l)
std::string IntoStr(int l)
{
std::stringstream ss;
ss << l;