0_0_26382333_31298.cpp: In function 'int main()': 0_0_26382333_31298.cpp:32:14: error: 'value' was not declared in this scope value+=p[j].v; ^