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

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

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

代码说明:

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

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

发表评论

0 个回复

  • [mathematica.MA].791893293matlabgui
    一个很好的通用虚拟示波器,基于vc编写的,非常好用(A good general purpose virtual oscilloscope, based on the vc prepared, very easy to use)
    2011-11-07 22:51:38下载
    积分:1
  • MATLAB6.0
    matlab学习手册,包括基本矩阵算法,信号波形绘制等(matlab learning manuals, including basic matrix algorithm, the signal waveform drawing, etc.)
    2016-04-18 21:24:58下载
    积分:1
  • AM2322
    本代码为基于STM32单片机的am2322温湿度传感器驱动代码,已经经过本人优化,并已经测试通过,可以直接用于采集温湿度信息,本代码采用keil5编程软件,下载解压后即可使用。 (本代码为基于STM32单片机的am2322温湿度传感器驱动代码,已经经过本人优化,并已经测试通过,可以直接用于采集温湿度信息,本代码采用keil4编程软件,下载解压后即可使用。(This code is based on the STM32 MCU am2322 driver code, temperature and humidity sensor has been optimized himself, and has been test pass, temperature and humidity can be directly used for collecting information, this code USES keil5 programming software, after download decompression can use. (this code is based on the STM32 MCU am2322 driver code, temperature and humidity sensor has been optimized himself, and has been test pass, temperature and humidity can be directly used for collecting information, this code USES keil4 programming software, after download decompression can use.)
    2017-11-07 13:24:32下载
    积分:1
  • MFC深入浅出_从MFC设计到MFC编程
    用mfc进行小程序的界面设计,从实例的角度分析mfc在原件界面中应用(Use mfc to design the interface of small program, analyze the application of mfc in the original interface from the perspective of instance)
    2018-09-04 16:37:04下载
    积分:1
  • DES
    可以对文件进行加解密,这是自己编写的实验作业(Can encrypt and decrypt files, it is their job to prepare experimental)
    2009-11-09 12:17:02下载
    积分:1
  • MatchBracket
    括号匹配的C语言工程实现,简单易懂,注释详细!更适合编程初学者学习!学习数据结构的最好资料!(Brackets match the C language engineering, easy-to-understand, detailed notes! More suitable for beginners to learn programming! Learning data structure best!)
    2012-12-03 12:49:31下载
    积分:1
  • Chapter14-MD2-Animation
    计算机图形学课程设计实例源码14 opengl基础内容,很实用(Computer graphics curriculum design example source 14 opengl based content, it is practical)
    2013-10-20 18:18:45下载
    积分:1
  • SelDEL
    实现在程序运行完毕后,删除自身exe文件.适用于需要时间限制类程序.(Time limit for applications that require such procedures in the program is complete, delete the exe file.)
    2013-05-19 10:22:03下载
    积分:1
  • MPU6050 DMP
    MPU6050 DMP 库文件 使用MPU6050 官方文件 移植自 430 直接计算 mpu6050 姿态 转换为 四元函数 q0 q1 q2 q3 通过计算 四元函数 转化为欧拉角 解决了锁死问题  
    2022-06-13 02:35:52下载
    积分:1
  • 2016电赛
    HX711 采用了海芯科技集成电路专利技术, 是一款专为高精度电子秤而设计的 24 位 A/D 转 换器芯片。与同类型其它芯片相比,该芯片集 成了包括稳压电源、片内时钟振荡器等其它同 类型芯片所需要的外围电路,具有集成度高、 响应速度快、抗干扰性强等优点。降低了电子 秤的整机成本,提高了整机的性能和可靠性。 该芯片与后端 MCU 芯片的接口和编程非常 简单,所有控制信号由管脚驱动,无需对芯片 内部的寄存器编程。输入选择开关可任意选取 通道 A 或通道 B,与其内部的低噪声可编程放 大器相连。通道 A 的可编程增益为 128 或 64, 对应的满额度差分输入信号幅值分别为±20mV 或±40mV。通道 B 则为固定的 32 增益,用于系 统参数检测。芯片内提供的稳压电源可以直接 向外部传感器和芯片内的 A/D 转换器提供电 源,系统板上无需另外的模拟电源。芯片内的 时钟振荡器不需要任何外接器件。上电自动复 位功能简化了开机的初始化过程。
    2023-08-26 14:25:04下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载