// Code derived from Stroustrup's PPP2 book// § 8.6 Order of evaluation// -and beginning on p 291#include<cctype>#include<iostream>#include<string>#include<vector>usingnamespacestd;stringprogram_name="silly";vector<string>v;// v is globalvoidf(){strings;// s is local to fwhile(cin>>s&&s!="quit"){stringstripped;// stripped is local to the loop onlystringnot_letters;// "for(inti=0;i<(int)s.size();++i)// i has statement scopeif(isalpha(s[i]))stripped+=s[i];elsenot_letters+=s[i];v.push_back(stripped);// . . .}// . . .}intmain(){}