hi,
check this example:
PHP Code:
#include <map>
#include <string>
#include <stdio.h>
using namespace std;
int main() {
map <string, string> test;
test["anykey"] = "anyvalue";
printf("anykey -> %s", test["anykey"].c_str());
return 0;
}
It complies ok in msvc++ 6.0 and it also seems to work. But I get so much warnings (about 107), I'm afraid police is coming to arrest me or something.
Any ideas?
thanks.