摘要:
注意: getline()函数会把最后一个字符(回车键'/n')读入,但在存区时只会保存空字符('/0') #include <iostream> #include <string> using namespace std; int main() { string str; getline(cin, 阅读全文
posted @ 2021-02-11 02:23
TR_Goldfish
阅读(57)
评论(0)
推荐(0)
摘要:
ctrl+shift+c可以快速注释掉多行。 ctrl+shift+x可以取消注释,才发现,哈哈真方便。 阅读全文
posted @ 2021-02-11 01:42
TR_Goldfish
阅读(376)
评论(0)
推荐(0)

浙公网安备 33010602011771号