Segmentation fault on using std::string inside a dynamically allocated struct
48505
How to use a C++ string in a structure when malloc()-ing the same structure?
75672
What is a segmentation fault?
75062
Vectors, structs and std::find
155118
How do you search a std::string for a substring in C++?
55726
How do you construct a std::string with an embedded null?
70850
What can cause segmentation faults in C++?
52302
Using sizeof with a dynamically allocated array
101600
How to construct std::array object with initializer list?
12603
Difference between declared string and allocated string
66128
Segmentation fault trying to dereference an iterator
44299
Why does "typdef struct { struct S *s; } S;" containing a pointer to same type compile?
106992
c++11 Async seg fault
58735
How to concatenate a std::string and an int?
86434
Segfaults in malloc() and malloc_consolidate()
74336
String literals inside functions: automatic variables or allocated in heap?
101597
cout << with char* argument prints string, not pointer value
132675
How do you convert CString and std::string std::wstring to each other?