So I've tried everything I tried to compare type typed a "." or set a threshold value and even then the program does not continue, it stays within the infinite loop. The code comes next:
vector<string> inserir(){
vector<string>f;
for(int x = 0;x < 5;x++){
string s;
cin>>s;
f.push_back(s);
}
return f;
}
Can anyone help me? Has anyone ever had the same problem?