Hi
I have the code
Code:#include<iostream>
using namespace std;
int main()
{
string buf;
while( cin >> buf )
{
cout << buf;
//do some process in buf
}
//end the loop someway
cout << "The result";
return 0;
}
With what keyboard shortcut I can end the loop in order to proceed in my program ( I am not interested in signal solution or
ThanksCode:
if ( buf == "END" )
break;
