Create segment_struct.cpp