帮忙把这个C语言改成C++~
帮忙把这个C语言改成C++~
日期:2014-04-28 13:02:54 人气:1
#include
#include
using namespace std;
int main()
{
string s;
int n,i,l;
cout<<"Enter a string:"<<endl;
cin>>s;
cout<<"Enter locate : ";
cin>>n;
l=s.size();
for (i=n-1; i<l; i++)