Remember that the getopt libraryroutine is general in nature, and not every command line option is expected to have an associated value.
请记住,getopt库例程本质上是通用的,而且并非每个命令行选项都有相关联的值。
2
Flush data in writer processes before unlocking a file by either calling C's flush libraryroutine or the flush method (if you prefer a C++ fstream).
在解锁文件之前,通过调用 C 的 flush 库例程或 flush 方法(如果喜欢使用 C++ fstream 的话),刷新写入者进程中的数据。
3
The time spent seeing whether the language authors have already provided a libraryroutine or function to do something you suspect would be a commonly needed function is well spent.