#include
using namespace std;
namespace sdds {
int Text::getFileLength() const {
int len = 0;
ifstream fin(m_filename);
while (fin) {
fin.get();
len += !!fin;
}
return len;
}
}
#include
using namespace std;
namespace sdds {
int Text::getFileLength() const {
int len = 0;
ifstream fin(m_filename);
while (fin) {
fin.get();
len += !!fin;
}
return len;
}
}