#include<iostream>
#include<vector>
#include<string>
using namespace std;
int main(int argc,char * argv[])
{
string Variable("zhang");
cout << Variable << endl;
char temp='a';
try
{
temp = Variable.at(9);
}
catch(const exception & zhc){
printf("error.[%s]", zhc.what());
}
cout << temp << endl;
return 0;
}