hi3 Whereas Hi3, I just created, it happens to live in this directory but my computer doesn't know that so you do dot slash which says current directory.
至于我刚刚创建的,它正好位于我电脑不知道的位置,所以你必须敲入,/,这代表当前目录。
When the program is on your computer you say dot slash and this means on my computer.
当程序位于你的电脑上时,敲入,就意味着在我的电脑上运行。
So I hit control X. It's very unnecessarily arcanely saying save modified buffer, and then answering no will destroy changes.
敲入控制键X,它会很罗嗦地,问你是否保存所做的修改,如果回答为NO,就不保存修改过的部分。
I'm just gonna hit enter to leave it alone, and now I'm back at the prompt.
我们只需要敲入回车键,不管它就可以了,我们又立刻回到刚刚的界面。
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 if you've ever seen or used an old school typewriter, you might recall that when you're typing something out on an old mechanical typewriter, - when you like hit the char-- when you hit the enter key to move the head back to the left hand side to the next line or you would pull down some lever, it was really a two part process.
如果你们有谁曾经看过或用过老式打字机,可能还记得,当你在,这种老式打字机上打字的时候,当你-,敲入回车键,跳转到,下一行的最左边,或者,拉一下杆,这个需要两步走。
And most of these commands you don't actually need but this little caret symbol means control, so every keyboard these days has a control key so you hold that and hit X for instance to exit the program.
这里大多数命令你们都用不着,这个小插入符意味着控制,每个键盘都有一个控制键,譬如,当你敲入X时,就退出这个程序。
So it turns out a really nice shortcut on most systems, oops, is to say if you have a file called hello.c and you wanna turn it into a program called hello, well, make hello just write in the command makeHello and it will do all of that for you automatically and hand you a program called hello.
就是寻找一种能在大多数系统上运行的更快捷的方式,哇!,也就是说,你有一个hello,c的文件,你想把它变成一个名为hello的程序,那么只需要敲入命令,它就会自动为你生成,一个hello程序。
So that part is pretty clear, so hit Y for yes.
这大家都懂的吧,所以敲入Y,也就是保存。
应用推荐