登录
首页 » C++ » 自动静态 C++ 计数器(有范围)

自动静态 C++ 计数器(有范围)

于 2022-03-25 发布 文件大小:6.25 kB
0 137
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge  作者:Paul M Watt@CodeProject 这是个在编译时中使用的静态计数器,是个小的自我包含的头文件的实现。功能: 比 __COUNTER__[^] 非标准编译器 MACRO 更容易移植. 一个编写单位中可以存在多个实例,跟 __COUNTER__ 不同。 使用自然语法,不同于 Boost::Preprocessor[^] 计数器 此实现当前仅可以用于小规模应用,每个计数器实例仅 50-100 行,旨在用于嵌入到 另一个 MACRO 中使用,每次外部 MACRO 被调用时,该计数器都会自增。 该实用程序可以帮助创建唯一的注册 id,或自动化的索引条目。 使用代码 这

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于两个STM32板之间的CAN通信
    基于两个STM32板之间的CAN通信,包含完整程序(Based on two STM32 plate between the CAN communication)
    2015-04-21 10:46:59下载
    积分:1
  • main
    Source requirements for at least 5 C or Java source code or programming or other good source of learning materials,
    2015-12-15 02:32:07下载
    积分:1
  • VCPP-image-processing-chapter02
    VisualC++数字图像处理技术详解第2版光盘-第二章(VisualC++ digital image processing technology Detailed Version 2 CD- Chapter 2)
    2016-04-16 13:20:57下载
    积分:1
  • 实现了在Winform中图片的拖拽移动及缩放,用到了PictureBox控件.
    实现了在Winform中图片的拖拽移动及缩放,用到了PictureBox控件.
    2015-01-30下载
    积分:1
  • 时频域特征值处理
    说明:  机床时频域信号特征提取,包括均方根值、峰值、峰值因子、峭度因子、脉冲因子、裕度系数、波形因子、功率谱密度、频率方差、均方频率(Eigenvalue extraction)
    2020-12-15 15:26:54下载
    积分:1
  • ZXMSG-9000_V1.0
    中兴通讯ZXMSG 9000(V1.0)媒体网关技术手册。(ZTE ZXMSG 9000)
    2014-02-19 22:34:33下载
    积分:1
  • student_c++
    学生管理系统,可以添加删除,修改,是基于控制台的,挺好用的(student management system, can be added to delete, modify, is based on the console, very good use)
    2006-11-07 05:16:46下载
    积分:1
  • 51ucosii
     μC/OS-II是一种可移植的,可植入ROM的,可裁剪的,抢占式的,实时多任务操作系统内核。它被广泛应用于微处理器、微控制器和数字信号处理器。SDCC是一个免费的开放源代码的软件,依据GNU General Public License (GPL) 发布。(μC/OS-II is successfully implemented in some of the highest level safety-critical devices)
    2012-05-08 13:34:57下载
    积分:1
  • tt0202
    1.建立两个有序得链表(带表头,用头插法); //2.写一算法在单链表上实现线性表的ListLength(L)运算。 写一算法将单链表中值重复的结点删除,使所得的结果表中各结点值均不相同。 (1. The establishment of two ordered lists too (with header, with the first interpolation) // 2. To write a method to achieve a single linked linear form of ListLength (L) operations. Write an algorithm to list the value of a single node to delete the duplicate, so the results in the table are not the same as the value of each node.)
    2010-09-10 10:26:46下载
    积分:1
  • 4线步进电机控制
    说明:  步进电机控制,采用4线程得方式,C语言编写,亲测可用(Stepper motor control, using 4 threads, C language, pro-test available)
    2019-04-19 17:00:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载