0_0_28146037_17100.cpp: In function 'int main()': 0_0_28146037_17100.cpp:28:15: error: 'redex' was not declared in this scope cout << str[redex] << endl; ^