用gcc编译.cpp文件时出现错误:undefined reference to `__gxx_personality_v0',解决的办法就是通过g++来编译,就可以通过了!!用gcc编译的话需要加-lstdc++ 编译选项