I've tried using getline(), but the problem is that i have this in loop, and the program simply doesn't stop to get the inputs like it normally does when using cin.
Here's how my code looks like:
    for (int i=0; i<value; i++){
       cout<<endl<<"what are You saerching for?";
       getline(cin, searchFor[i]);
       cout<<"How it should be changed?";
       getline(cin, changeTo[i]);
    }
It works normally using cin, but that way i can't get more than 1 word to the table (both tables are strings).
 
     
    