大佬速来!蒟蒻求助,getline(cin,a)有什么问题吗???

P1598 垂直柱状图

怎么了
by kk_is_ethereal @ 2022-08-04 10:20:10


建议用gets
by kk_is_ethereal @ 2022-08-04 10:23:55


@[Alpex](/user/664620) getline是string的语法,char用cin.getline
by tanghg @ 2022-08-04 10:24:51


怎么2202年了还有人在建议用gets
by StarLbright40 @ 2022-08-04 10:46:24


@[kk_is_ethereal](/user/726368) 貌似gets被禁用了吧 我用不了
by Alpex @ 2022-08-05 09:25:43


@[Tanghaoge](/user/692647) 谢谢,问题解决了,此帖完
by Alpex @ 2022-08-05 09:26:44


|