terminate called after throwing an instance of ‘std::logic_error’ what(): basic_string::_S_construct NULL not valid
Main reason: Operating on a null pointer.
For example: Char * p = NULL:
string str(p); // Error running times
Main reason: Operating on a null pointer.
For example: Char * p = NULL:
string str(p); // Error running times