c++11 - c++ <vector> does not name a type -
so i'm having type problems in c++ program. here code: #include "nhsfileparser.h" #include "nhsfilecontroller.h" #include <string> #include <vector> std::string databasepath = "/media/sf_documents/skola/mvk/testdb/"; std::string dblang = "english"; std::vector<std::string> directories; std::string directory1 = "/media/sf_documents/skola/mvk/testdata/"; std::string directory2 = "/media/sf_documents/skola/mvk/testdata2/"; directories.push_back(directory1); directories.push_back(directory2); std::vector<std::string> queryterms; std::vector<std::string> return_files; int main() { nhsfilecontroller fc(directory1, databasepath); bool b = fc.adddirectory(directory1); nhsdatabase database(databasepath, dblang); split( queryterms, "test", boost::is_any_of("_")); //split on lots of chars std::cout << "queryterms set." << std::endl; database.query(...