... >//getline包含在string頭文件裡 #include using namespace std; int main() { string str; getline(cin,str,'#'); char c=getchar(); cout
baike.baidu.com