經安全檢測,此網站為安全網站,請放心前往原始網址!

Abnormal program termination error accessing elements while using vector inside a vector in c++ - St

You have: table_info* table_info table_info = get_table_info(tablename); ... for (int i = 0; i < num_col ; i++) { offset2 = table_info->col.at(i).offset; ... } but get_table_info() can return NULL, so you may be dereferencing a NULL pointer (with ->). You

stackoverflow.com

網址安全性掃描由 google 提供