Probleme mit static library

Etwas mehr "C++-like":
C++:
void DatabaseManager::makeDatabase(std::string const& line) 
{
    const std::string::size_type pos_first(line.find('|'));
    const std::string::size_type pos_second(line.find('|', pos_first + 1));
    openDatabases.push_back(new Database(line.substr(0, pos_first), line.substr(pos_first + 1, pos_second - pos_first), line.substr(pos_second, line.legth() - pos_second)));
Hm oder per Iterator ;) Aber okay das is freakstuff :p
 

Neue Beiträge

Zurück