我该怎么做?一整天我一直在到处寻找解决方案:(它在c ++中,所有问题都在标题中,谢谢
if(fp.is_open())
{
while(getline(fp, buff))
{
if(buff.length() == lung)
{
// check if the characters are in the string
while(found != string::npos)
{
cout << i << "\r";
for(int x = 0; x < buff.length(); ++x)
{
found = lettere_possibili.find(buff[x]);
if(found == string::npos)
{
continue;
}
}
++i;
}
j = 0;
}
++k;
}
fp.close();
}