0_0_30421331_24171.cpp: In function 'int main()': 0_0_30421331_24171.cpp:109:35: error: 'tmp' was not declared in this scope tmp_ade1.nowval = tmp.fromval + mp[tmp_ade.from][tmp_ade.th + 1].val; ^