How come this code
std::map <std::string , int> m; m["a"]=1;
compiles with (I'm using MSVC 2010)
#include <string>
but not with
#include <string.h>
?
<string.h>
strcpy
strlen
<string>
std::string
std::wstring
1.4m articles
1.4m replys
5 comments
57.0k users