0_0_20539075_11017.cpp: In function 'void reget(int&, int&, std::string)': 0_0_20539075_11017.cpp:21:7: error: 'i' was not declared in this scope for( i=p+1;i<str.length();i++) ^