#include<iostream>
#include<map>
using namesapce std;
void main()
{
   map<const TCHAR*, int> Map;
   Map.insert(make_pare(L"DOG1",1));
   Map.insert(make_pare(L"DOG2",2));
   TCHAR szTem[128];
   wsprintf(szTem,L"DOG%d",1);
   map<const TCHAR*, int>::iterator iter = Map.find(szTem);
   cout << iter->second << endl;
}
Like this case, I couldn't find TCHAR* Keyvalue using TCHAR[]. Why i can't do this, and how can i find pointer string Keyvalue using string that include integer fomula?
 
     
    