Ejemplo n.º 1
0
/** Echo command argument line to std::cerr.
    This command is compatible with GNU Go's 'echo_err' command. */
void SgGtpCommands::CmdEchoErr(GtpCommand& cmd)
{
    string line = cmd.ArgLine();
    cerr << line << endl;
    cmd << line;
}
Ejemplo n.º 2
0
/** Echo command argument line as response.
    This command is compatible with GNU Go's 'echo' command. */
void SgGtpCommands::CmdEcho(GtpCommand& cmd)
{
    cmd << cmd.ArgLine();
}