登录
首页 » Windows开发 » 这是一个最小堆的模板实现,遗憾的是没有使用模板特化,否则使用起来会更方便,这个实现似乎还有些问题,在析构的时候会出现错误,但是我没有找到原因,很是郁闷。没什么好...

这是一个最小堆的模板实现,遗憾的是没有使用模板特化,否则使用起来会更方便,这个实现似乎还有些问题,在析构的时候会出现错误,但是我没有找到原因,很是郁闷。没什么好...

于 2022-03-17 发布 文件大小:340.05 kB
0 92
下载积分: 2 下载次数: 1

代码说明:

这是一个最小堆的模板实现,遗憾的是没有使用模板特化,否则使用起来会更方便,这个实现似乎还有些问题,在析构的时候会出现错误,但是我没有找到原因,很是郁闷。没什么好说的,代码跟书上的没什么两样-This is a template to achieve the minimum heap, unfortunately, do not use template specialization, or else will be more convenient to use, this achievement seems to be some problems in the destructor when an error, but I did not find reason, was very depressed . There" s really nothing, the code is no different with the book" s

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

发表评论

0 个回复

  • Generating a sine wave by a recursive digital resonator
    Generating a sine wave by a recursive digital resonator
    2022-06-16 17:26:34下载
    积分:1
  • service manual for tv14pv202/07
    service manual for tv14pv202/07
    2022-02-28 17:28:18下载
    积分:1
  • 八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的...
    八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。-visual demostration in vc of eight queens problem. algorithm: backtracking. First, put a queen on first line then find a suitable position on 2nd line for next queen, and so on. When all eight lines have queens, it means we have find a solution. If we put the i-th queen, but can find a suitable position on the (i+1)th line, then back to the ith line and move the queen on the ith line to next suitable position and move on to the next line. Repeat this until we have found all the solutions. Note:By this mean, some solutions maybe equivalent to others, some can be acquired by the rotation of other solutions.
    2022-03-23 15:20:19下载
    积分:1
  • 巧妙地实现逃生按钮。如何制作“属性页”和“向导”对话框…
    逃跑按钮的巧妙实现。如何制作属性页对话框和向导对话框,融合讲解组合框(如何调整组合框的大小)、列表框、单选按钮、复选按钮等常用对话框控件的多种使用方法。如何限制用户在不满足设定的条件时切换到其他属性页和向导页。-escape button cleverly achieved. How to make property pages and Wizard dialog box, the box integration on the composition (how to adjust the portfolio size box), List box, radio button, check button so common dialog control of the use of a variety of methods. How to restrict users no longer satisfied with the conditions set when switching to other pages and Attribute Wizard page.
    2022-03-20 02:38:41下载
    积分:1
  • The purpose is to guide the detailed design codes, specifically, is that your de...
    详细设计的目的就是指导编码,明确的说,就是将你的设计拿给不同的人去写编码,写出来的程序处理流程相同.后续的评审或者是有人接替你的工作,只要查看详细设计,就能清楚你当时是怎样设计这些流程的。-The purpose is to guide the detailed design codes, specifically, is that your design showed that different people to write code, written procedures for processing the same. Follow-up assessment or someone to replace your job, as long as View the detailed design, we can clearly understand how did you design these processes.
    2023-03-22 16:45:03下载
    积分:1
  • 一个可以播放MID声音文件的小程序,不知道对你们有没有用
    一个可以播放MID声音文件的小程序,不知道对你们有没有用-a MID can play audio files of small programs, you do not know to be useless
    2022-02-07 02:16:02下载
    积分:1
  • 客户端服务器
    这是不同格式的作证客户端服务器程序。它是它还拥有与日期和时间的错误日志记录系统的客户端服务器模型。它也有一个独特的系统,每个在 30 秒之后转移数据从客户端到服务器自动。
    2023-05-15 17:20:03下载
    积分:1
  • sends SMS information to another mobile phone
    sends SMS information to another mobile phone
    2022-01-24 08:53:33下载
    积分:1
  • 用delphi7创建intraweb应用程序
    用delphi7创建intraweb应用程序-delphi7 used to create applications Intraweb
    2023-05-05 10:00:03下载
    积分:1
  • 绘制位图,windows32程序。功能简单但是展前景很大。
    绘制位图,windows32程序。功能简单但是发展前景很大。-draw picture
    2023-06-28 17:40:04下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载