#include <iostream>
#include <string>

void find_and_find_first_of(const std::string& haystack, const char* needle) {
  std::cout << haystack.find(needle) << '\t'
            << haystack.find_first_of(needle) << '\n';
}
int main(int argc, char** argv) {
  find_and_find_first_of("abc", "");
  find_and_find_first_of("a", "");
  find_and_find_first_of("", "");
}