C ++ Primer Plus [the first chapter? ]

1.cin.get()

为查看输出,必须在程序的最后加入一些代码
cin.get()
cin,get()  //and this maybe,too
return 0;
}

cin.get () under the program reads one keystroke, so the above statement is the program to wait until you press the enter key

to sum up

但是还不知道这个cin.get()怎么用,可以用来干什么,实际应用是怎么样的
Released three original articles · won praise 0 · Views 46

Guess you like

Origin blog.csdn.net/weixin_46021869/article/details/104025205