When you've been typing in words to the keyboard like your name or any word that you're trying to provide to the user, a string really looks like this.
当你们通过键盘键入单词,比如你的名字,或者你想提供给用户的任何单词,一个字符串实际上看起来就是这样。
I probably whip out a do while loop very rarely, but very often when programming games or any program that takes user input and has to check that user input and yell at the user if they're messing with you or aren't providing what's expected.
我可能很少用do,while,循环,但常常是,当编制程序游戏或需要用户输入的程序是,需要检查用户的输入并提醒用户,如果他们干扰了你,或没有提供所期望的输入。
应用推荐