//帮我看看为什么会出错
#include
#include
using namespace std;
int main()
{
int v=0;
string s[4];
cin.get(s[v]);
while (v==strcmp(s,"done"))
{
cout<<s;
++v;
cin.get(s[v]);
}
cout<<v;
return 0;
}
int v=0;
string s[4];
s[v] = cin.get();
while (v==strcmp(s[v].c_str(),"done"))
{
cout<<s;
++v;
s[v] = cin.get();
}
cout<<v;