NPO bukan anggota STD

// you are missing 'string', shown below
std::string::npos;
Crowded Capybara