0_0_17392840_29353.cpp: In function 'int main()': 0_0_17392840_29353.cpp:101:14: error: 'i' was not declared in this scope for (i=1;i<index; i++) ^