• 大小: 278KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-16
  • 语言: 其他
  • 标签: 源代码  

资源简介

卢誉声编写书籍《分布式实时处理系统 原理、架构与实现》的源代码

资源截图

代码片段和文件信息

#include 
#include 
#include 

int main(){
    std::string line;
    boost::regex pat(“^Subject: (Re: |Aw: )*(.*)“);

    while ( std::cin ) {
        std::getline(std::cin line);
        boost::smatch matches;
        if ( boost::regex_match(line matches pat) ) {
            std::cout << matches[2] << std::endl;
        }
    }

    return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-07-10 22:42  hurricane\
     目录           0  2016-07-10 00:51  hurricane\conf\
     文件        1077  2016-07-10 00:51  hurricane\conf\index.js
     目录           0  2016-07-10 21:39  hurricane\deps\
     目录           0  2016-07-10 00:51  hurricane\deps\kake\
     文件          71  2016-07-10 00:51  hurricane\deps\kake\.gitignore
     目录           0  2016-07-10 00:51  hurricane\deps\kake\bin\
     文件         197  2016-07-10 00:51  hurricane\deps\kake\bin\kake
     文件         181  2016-07-10 00:51  hurricane\deps\kake\bin\kake.cmd
     文件         119  2016-07-10 00:51  hurricane\deps\kake\bin\pynewmod
     文件           0  2016-07-10 00:51  hurricane\deps\kake\Changelog
     目录           0  2016-07-10 00:51  hurricane\deps\kake\doc\
     目录           0  2016-07-10 00:51  hurricane\deps\kake\doc\conf\
     文件         524  2016-07-10 00:51  hurricane\deps\kake\doc\conf\cpp.txt
     文件       18042  2016-07-10 00:51  hurricane\deps\kake\LICENSE
     文件        1202  2016-07-10 00:51  hurricane\deps\kake\README.md
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\asmexample\
     文件         191  2016-07-10 00:51  hurricane\deps\kake\sample\asmexample\Kakefile
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\asmexample\src\
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\asmexample\src\main\
     文件          50  2016-07-10 00:51  hurricane\deps\kake\sample\asmexample\src\main\main.asm
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\cppexample\
     文件         356  2016-07-10 00:51  hurricane\deps\kake\sample\cppexample\Kakefile
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\cppexample\src\
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\cppexample\src\main\
     文件         386  2016-07-10 00:51  hurricane\deps\kake\sample\cppexample\src\main\main.cpp
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\gmakeexample\
     文件         675  2016-07-10 00:51  hurricane\deps\kake\sample\gmakeexample\Kakefile
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\testc\
     目录           0  2016-07-10 00:51  hurricane\deps\kake\sample\testcpp\
............此处省略356个文件信息

评论

共有 条评论