
Hi, Jeremiah. Thanks for your reply.
The declaration "PMap map();" declares a function named "map" that returns an object of type "PMap". Just use the original form "PMap map;" if you want to declare an actual map.
You are right. What a stupid mistake I make, probably I've been
writing Python for too long time :-). As for the original form do you
have some speculation on why it's crashing?
After I surf on the Internet for a while, I found a solution to the
crashing problem by change the program into:
#include <iostream>
#include <map>
#include <string>
#include