我目前正在编写一个程序,将多个自定义数据类型存储为“电影”类型。putStr "Enter the director's name: " putStr "Enter the year the moviewas released: " putStr "Please enter your name: "
name &l
我有一个structure成员,它从XML.And中获取分隔符的值,我想使用该结构成员作为分隔符。但是,由于getline()函数只以分隔符作为字符,所以我的I就被卡在那里了。istream& getline (istream& is, string& str, char delim)string ABC = struct.delimiter;struct.delimiter is takes value of