Notice that we use the cout operator.
请注意,我们使用了 cout 操作符,但 C++ 不能够识别。
Note that the error messages must go to STD: : cerr and not STD: : cout.
注意,错误消息必须发送到std: cerr而不是std: cout。
Next, add the following lines in the code for the second process (Listing 4) just after STD: : cout, and rebuild the code.
接下来,在第二个进程的代码(清单4)中std: cout后面添加以下代码并重新构建代码。
When you check whether help is the relevant command option for the program (this is what vmap.count (" help ") does), the options object is dumped to cout.
当您检查help是否为程序的恰当命令行选项(这是vmap . count (“ help ”)所做的工作)时,options对象将被转储到cout。