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

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

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

代码说明:

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

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

发表评论

0 个回复

  • SoftScope
    功能描述:这是一个示波器波形显示控件,能够完成类似于示波器的功能。最多可以同时显示8个通道的数据波形,可以动态切换显示通道。缩放xy轴,弹出半透明窗口显示坐标,y轴方向平移波形等功能。 操作使用键盘快捷键,操作说明见readme.txt,目前按键焦点的得到有点问题,要点击开始后在示波器上鼠标左键单击一下,然后按一下上箭头键,才可以响应按键指令,有高手知道怎么改进希望告诉作者:xiang57@163.com(Functional Description: This is an oscilloscope waveform display control, able to complete similar oscilloscope function. At the same time show up to eight channels of waveform data can be displayed dynamically switch channels. Zoom xy axis, translucent pop-up window displays the coordinates, y-axis direction of translational wave functions. Operation of the use of keyboard shortcuts, operating instructions see readme.txt, the current key focus has been a problem, it is necessary to click on the oscilloscope after the beginning click the left mouse button, and then click on the arrow keys, before they can respond to key commands, has a master know how to tell the authors hope to improve: xiang57@163.com)
    2008-07-06 21:24:24下载
    积分:1
  • cdmbenation
    用win32 api实现的弹幕演示效果, 其实就是一个透明窗口,在上面绘制文本(The projectile demonstration effect realized by win32 api is actually a transparent window, drawing text on it.)
    2018-12-31 16:56:27下载
    积分:1
  • yuyinxinhaochuli
    语音信号处理中的所有基本的算法的代码(C语言版)(Speech signal processing algorithms in all the basic code (C language version))
    2010-10-22 16:50:49下载
    积分:1
  • sed6120
    整有效。中间四个字节分别代表设备的地址、指令类型、指令参数1(OPT1)和指令参数2(OPT2)。设备在对这四个字节的内容进行译码后执行相应的操作
    2009-12-25 09:29:17下载
    积分:1
  • STM8L052R8-DEMO(1)
    stm8 例程包含全部外设的c语言程序,可以任意扩展(Stm8 programs contain all peripheral c language programs, which can be expanded arbitrarily)
    2019-04-02 14:58:04下载
    积分:1
  • s1
    说明:  用C语言实现求取无约束条件下n维极值的单纯形法,可供初学者参考(The simplex method to obtain the n-dimensional extremum under unconstrained conditions is implemented in C language, which can be used as reference for beginners)
    2019-12-06 09:25:15下载
    积分:1
  • 贴片铝电解电容
    说明:  PCB封装库 电解电容,非常好用的封装库(Electrolytic Capacitance of PCB Packaging Library)
    2020-11-05 12:09:50下载
    积分:1
  • TEST11
    说明:  件设计思路是利用 MS 的定时器 B 中断执行相应的中断服务程序来产生舵机用多 路 PWM 波.4的 系 统 主 时 钟 频 率 取 8 MHz,设每个定时周期取 250/ =31.25 μs,(The x medium-density performance line family incorporates the highperforfrequency, highspeed embedded memories (Flash memory up toytes), and an extensive range of s and peripherals connected to two APB buses.)
    2019-05-09 22:49:55下载
    积分:1
  • i30semoDEMO(GAS)
    I30 gasoline instrument panel color LED backlight module
    2013-08-23 07:42:15下载
    积分:1
  • C8051F020examples
    包含了C8051的基本例程,如流水灯,IO口控制,蜂鸣器,串口通信等(C8051MCU example programs)
    2013-09-04 11:25:58下载
    积分:1
  • 696518资源总数
  • 105563会员总数
  • 11今日下载