• jerry语言的编译器和对应的虚拟机

    jerry是一个类C++的编译器,编译之后生成虚拟指令集,然后由jlvm来执行指令集!

    0
    61
    814KB
    2013-05-13
    9
  • gzip for windows

    gzip 1.2.4 for windows source code from gzip.org

    5
    258
    264KB
    2012-09-11
    33
  • 编译原理移进规约冲突

    编译原理移进规约冲突处理的参考文档,使用BISON进行语法分析

    5
    3346
    171KB
    2012-07-20
    37
  • 语法制导翻译

    语法制导翻译的课程讲义,来源与网络!

    0
    63
    157KB
    2012-07-18
    13
  • bison 2.4.1 fro windows

    binso2.4.1 for windows setup url:http://gnuwin32.sourceforge.net/packages/bison.htm

    5
    163
    3.64MB
    2012-07-17
    13
  • ilink32 for c++ builder

    ilink32 for c++ builder update 5.66

    4
    35
    341KB
    2012-06-26
    2
  • wxsqlite3加密

    该资源来自于 http://sourceforge.net/projects/wxcode/files/Components/wxSQLite3/

    4
    111
    4.48MB
    2012-06-25
    31
  • QXGameEngine50

    QXGameEngine50代码 C#游戏编程实例

    4
    31
    18.62MB
    2012-03-15
    0
  • 公司用的TRACE存储限制

    unsigned int size; std::list< std::string > files; void initialize() { if( _access( "filelist.txt", 06 ) == 0 ) { // 如果文件存在则从文件中读取有效的文件名 std::ifstream file&#40; "filelist.txt" &#41;; std::string str; struct _stat buf; while( std::getline( file, str ) ) { if( !str.empty() ) { files.push_back( str ); if( 0 == _stat( str.c_str(), &buf; ) ) { size += buf.st_size; } } } } else { // 如果文件不存在则以默认的时间作为先后顺序 struct _finddata_t fileinfo; intptr_t hand = _findfirst( "E:\\source\\repos\\trace\\Debug\\*.tlog", &fileinfo; ); if( hand == -1 ) { return; } files.push_back( fileinfo.name ); while( _findnext( hand, &fileinfo; ) == 0 ) { files.push_back( fileinfo.name ); size += fileinfo.size; } _findclose( hand ); } files.sort(); } void DeleteOldTrace() { struct _stat buf; if( 0 == _stat( "cur.tmf", &buf; ) ) { size += buf.st_size; } // 删除最早的文件 std::string str; std::string path = "E:\\source\\repos\\trace\\Debug\\"; std::list< std::string >::iterator it = files.begin(); while( size >= 1*1024 && it != files.end() ) { str = path + it->c_str(); if( 0 == _stat( str.c_str(), &buf; ) ) { size -= buf.st_size; remove( str.c_str() ); it = files.erase( it ); } else { ++it; } } // 重新写入到文件中 str = path + "filelist.txt"; std::ofstream file&#40; str.c_str(&#41; ); if( file.is_open() ) { for( it = files.begin(); it != files.end(); ++it ) { file << (*it) << "\n"; } file.close(); } }

    0
    25
    2KB
    2012-03-11
    2
  • 公司用的trace记录

    unsigned int size; std::list< std::string > files; void initialize() { if( _access( "filelist.txt", 06 ) == 0 ) { // 如果文件存在则从文件中读取有效的文件名 std::ifstream file&#40; "filelist.txt" &#41;; std::string str; struct _stat buf; while( std::getline( file, str ) ) { if( !str.empty() ) { files.push_back( str ); if( 0 == _stat( str.c_str(), &buf; ) ) { size += buf.st_size; } } } } else { // 如果文件不存在则以默认的时间作为先后顺序 struct _finddata_t fileinfo; intptr_t hand = _findfirst( "E:\\source\\repos\\trace\\Debug\\*.tlog", &fileinfo; ); if( hand == -1 ) { return; } files.push_back( fileinfo.name ); while( _findnext( hand, &fileinfo; ) == 0 ) { files.push_back( fileinfo.name ); size += fileinfo.size; } _findclose( hand ); } files.sort(); } void DeleteOldTrace() { struct _stat buf; if( 0 == _stat( "cur.tmf", &buf; ) ) { size += buf.st_size; } // 删除最早的文件 std::string str; std::string path = "E:\\source\\repos\\trace\\Debug\\"; std::list< std::string >::iterator it = files.begin(); while( size >= 1*1024 && it != files.end() ) { str = path + it->c_str(); if( 0 == _stat( str.c_str(), &buf; ) ) { size -= buf.st_size; remove( str.c_str() ); it = files.erase( it ); } else { ++it; } } // 重新写入到文件中 str = path + "filelist.txt"; std::ofstream file&#40; str.c_str(&#41; ); if( file.is_open() ) { for( it = files.begin(); it != files.end(); ++it ) { file << (*it) << "\n"; } file.close(); } }

    0
    172
    2KB
    2012-03-11
    12
  • 阅读者勋章

    授予在CSDN APP累计阅读博文达到7天的你,是你的坚持与努力,使你超越了昨天的自己。
  • 分享宗师

    成功上传21个资源即可获取
关注 私信
上传资源赚积分or赚钱