コード例 #1
0
ファイル: rcg2xml.cpp プロジェクト: edymanoloiu/FotbalRobotic
 void doHandleMsgInfo( const int,
                       const int board,
                       const std::string & msg )
   {
       // format the string
       std::string msgcopy( msg );
       XMLEscape( msgcopy );
       std::cout << "<MsgInfo";
       if ( board != 1 )
       {
           std::cout << " board=\"" << board << "\"";
       }
       std::cout << ">" << msgcopy << "</MsgInfo>\n";
   }
コード例 #2
0
ファイル: sysem.c プロジェクト: spitbol/x64
int zysem()
{
    ptscblk->len = msgcopy( WA(word), errors, ptscblk->str );
    SET_XR( ptscblk );
    return NORMAL_RETURN;
}