运行时错误:terminate called after throwing an instance of 'std::logic_error'
<br />terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid<br /> <br />主要原因:对一个空指针进行操作。<br /> <br />例如:char* p = NULL:<br />string str(p);