char a; a=getchar(); 输入回车键 可以知道if(a=='/n')为真。 string word1; word1=getchar(); 输入回车键 怎么让if(word1==??)为真