{
char op;
cout << "enter test ";
cin >> op;
if(op == 'test')
cout << "test sucessful\n";
else
cout << "w00t\n";
system("pause");
}
Right now i can type toggle and the program will display test succesful because toggle starts with t i need it so like if i type tset it will say w00t. I need it to check the whole word and not just the first letter. How do i go about doing this?