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

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

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

代码说明:

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

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

发表评论

0 个回复

  • graph
    matlab、C代码,实现图论中的大部分算法,包括kruskal、Dijkstra、prim、hamilton等 (Matlab,C code for most algorithms of graph theory.)
    2012-05-07 22:37:00下载
    积分:1
  • hsms-0.9.0
    说明:  hsms 源码,该源码来自网络,看了下,还比较好,有需要的同学可以下载看看(HSMS source code, the source code from the network, look at it, it is better, students in need can download and see)
    2019-07-11 15:34:35下载
    积分:1
  • 串口程序 可以自动识别串口号
    可以用来自动识别串口号,方便快捷,成功应用于ZigBee板子中。
    2022-03-10 03:24:47下载
    积分:1
  • guidedfilter_vc
    本文件为引导滤波算法的程序文件,为VC++编码,根据何凯明博士的文章《Guided Image Filtering》讲述的原理编写而成,具有很好的边缘保持特性,是作为作者在前一篇讲解去雾算法的文章《Single Image Haze Removal Using Dark Channel Prior》的补充,当然也可以用于其他的滤波算法中(This document is a boot file filtering algorithm for VC++ coding, according to Dr. He Kaiming article " Guided Image Filtering" principle tells prepared, with good edge retention characteristics, as an explanation of the previous algorithm decontamination The article " Single Image Haze Removal Using Dark Channel Prior" supplement, of course, can also be used for other filtering algorithms)
    2021-04-22 18:08:48下载
    积分:1
  • Serial-Oscilloscope-master
    串口调试工具c#源码,波形显示上位机,可以显示实时波形(serial port)
    2015-04-27 22:13:36下载
    积分:1
  • AdvReco
    Ink analysis 代码,可以识别简单的图形,如正方形,圆. XP系统需要装sdk(ink analysis code, recognize simple shapes like square or circle)
    2009-10-14 13:29:23下载
    积分:1
  • zataifenxi
    电力系统暂态分析程序,可以设定故障发生和切除时间,画出发电机的摇摆曲线(Power system transient analysis program, you can set the time of failure and excision, draw the rocking curve of the generator)
    2013-03-19 15:28:30下载
    积分:1
  • 1.LED
    STM8 LED程序 演示程序,对入门者非常有用(STM8 LED program demonstration program, very useful for beginners)
    2018-12-05 11:58:40下载
    积分:1
  • 测试2
    说明:  使用超声波测量距离,可以参考一下这个代码,适用于32。(Using ultrasonic to measure distance, you can refer to this code, which is suitable for 32.)
    2020-06-18 09:00:02下载
    积分:1
  • xinxiguanli
    单机版产销管理系统;C#编写;access数据库(Production and marketing of stand-alone management system C# prepared access database)
    2012-11-02 18:59:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载