虚函数简单地向标准输出写一行文本。
The virtual functions simply write a line of text to standard output.
该函数将对象的信息转储到标准输出流。
This function will dump the object's information to the standard output stream.
它还为此脚本设置了某些默认值,然后使用标准的Bash shell的getopt函数解析这些命令行参数(清单7给出了这个使用消息的输出)。
It also sets some default values for the script, and then parses the command-line arguments using the standard Bash shell's getopt function. (Listing 7 shows the output of this usage message.)
At the top, I've got some CS50 Library going on, argv standard I/O library; I don't bother mentioning argc or argv because I'm not going to use them in this program.
在顶端,我使用了CS50函数库,标准输入输出库,我没有提到argc或者,因为我不会在这个程序中使用它们。
应用推荐