#include <iostream>
#include <map>
#include <cstring>

struct myComp
{
  bool operator()(const char* s1, const char* s2) const
  {
    return strcmp(s1, s2) < 0;
  }
};

int main()
{
  std::map<const char*, int, myComp> test;
  
  test["$"] = 1;
  test["#"] = 2;
  
  std::cout << "$ -> " << test["$"] <<"\n";
  std::cout << "# -> " << test["#"] <<"\n";
  
  return 0;
}