tips: shared_ptr is not a name of type
1、check out if include<memory>
2、check out if using namespace std;
3、check out in the commond line if have -std=c++11/-std = c++0x