And now notice as promised, I'm using a Mac here so my cursor is not actually blinking, but the cursor is waiting there for me.
现在注意正如所承诺的,这里我用的是苹果电脑,所以我的光标不会闪烁,但是光标在那里等我输入。
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来代替它,同样的:闪烁光标,那个函数只是等待用户来,输入一个单词,一个句子什么的,然后敲回车。
But for now assume that GetInt just makes the cursor blink or at least stay steady -- it depends on your computer and operating system and such.
但是现在假设GetInt只是使光标闪烁,或者是不变的--它依赖于你的电脑,和操作系统之类的。
应用推荐