ho provato ma dà errore:

#include <iostream.h>
#include <string.h>

int main()


{

char str1[10],str2[10];
strcpy (str1, "grazie bla bla");

cin.getilne (str2, 100, '\n');

if (strcmp(str1,str2) == 0)
cout << "prego";
else

cout << "Error...";

return 0;

}


error C2039: 'getilne' : is not a member of 'istream_withassign'