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