通过用户名获得用户 ID
获得当前用户名 Obtaining the current user name
不能获得超级用户权限 can't get root permissions
获得超级用户权限 sudo -i
从客户机获得用户的标识符。
通过IP地址获得用户的地理位置信息。
网络中介不是获得用户信息的唯一方法。
The online medium should not be the only way of gathering customer information.
If you want to get some input from the user, my God I don't want to have to program it to low level zero and 1 just to get keys from the keyboard; please let there have been someone who does that for me and indeed there are an increasingly sophisticated options that you can pull off the shelf.
如果你想获得一些用户的输入数据,我的上帝,我可不希望在键盘上敲入0,1的低水平方式来编程;,希望有个人能帮我做这件事吧,但是现有的选择,也变得日益复杂了。
So when you have a function called GetString, -- that means it's going to get a string from the user -- -- prompt the user for a string -- whereas printf is literally going to print it, not to paper, but to the screen.
所以当你有一个叫做GetSting的函数,它的意思是从用户那获得一个字符串-,提示用户输入一个字符串-,然而printf的确是用来打印的,不是在纸上,而是在屏幕上。
If you called get string multiple times, surely you've been able to get different strings from the user.
如果你调用GetString好几次,你可以从用户那里获得不同的字符串。
应用推荐