map < char*,int > find 时比较的是指针而不是字符串,char * 存储的是指针, printf() 时也会出错 不加比较函数的话,比较的是指针本身而不是指向的字符串 用std::string