But it's the really correct way to specify that this function takes no arguments is to actually write this key word "void."
但是这的确是正确的方法来指明,这个函数是没有参数,实际上是写了这个关键字“void“
If you instead use GetString, same thing: blinking cursor, the function is just going to wait for the user to type a word, a sentence or whatever, and then hit Enter.
如果你用GetSring来代替它,同样的:闪烁光标,那个函数只是等待用户来,输入一个单词,一个句子什么的,然后敲回车。
应用推荐