 |
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 |
 |