-
一个trackbar类的控件,推荐大家使用
一个trackbar类的控件,推荐大家使用-A kind of trackbar control, recommended the use of U.S.
- 2022-01-25 14:27:04下载
- 积分:1
-
目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的...
目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。
由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。
假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-present on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. I spend time on this transformation of the type that after transformation, and these can be applied to any MFC. WTL/ATL and other Windows API programming. As the original CPictureEx inherited from CStatic category, I transform, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a
- 2022-07-09 13:07:36下载
- 积分:1
-
用VC++编写的算3000的阶乘的源程序
用VC++编写的算3000的阶乘的源程序-It is a source programme editted with VC to compute the factorial of 3000.
- 2023-04-06 07:50:03下载
- 积分:1
-
算法实现题2
算法实现题2-9 排列的字典序问题
« 问题描述:
n个元素{1,2, , n }有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…,
n!-1。每个排列的编号为其字典序值。例如,当n=3时,6 个不同排列的字典序值如下:
字典序值 0 1 2 3 4 5
排列 123 132 213 231 312 321
« 编程任务:
给定n 以及n 个元素{1,2, , n }的一个排列,计算出这个排列的字典序值,以及按字
典序排列的下一个排列。
« 数据输入:
由文件input.txt提供输入数据。文件的第1 行是元素个数n。接下来的1 行是n个元素
{1,2, , n }的一个排列。
« 结果输出:
程序运行结束时,将计算出的排列的字典序值和按字典序排列的下一个排列输出到文件
output.txt中。文件的第一行是字典序值,第2行是按字典序排列的下一个排列。
输入文件示例 输出文件示例
input.txt output.txt
8
2 6 4 5 8 1 7 3
8227
2 6 4 5 8 3 1 7
- 2022-02-12 05:10:54下载
- 积分:1
-
OpenGL code is an example of the use of pure c++ written by some reference value...
是openGL的实例代码的,用纯c++写的,有一定的参考价值的,可以拿来学习一下。-OpenGL code is an example of the use of pure c++ written by some reference value can be used to learn about.
- 2022-07-08 08:40:21下载
- 积分:1
-
简单的基本画图程序
简单的基本画图程序-simple program of basic paint
- 2023-04-23 04:15:02下载
- 积分:1
-
在java的源传智博客的一部分
Chuanzhi blog part of the source in java
- 2022-02-01 05:00:50下载
- 积分:1
-
very beautiful tropical fish screen to protect source code, and with exquisite m...
非常精美的热带鱼屏幕保护源代码,并且带有精美音乐-very beautiful tropical fish screen to protect source code, and with exquisite music
- 2022-05-13 13:12:18下载
- 积分:1
-
一个模拟200,201电话卡系统 工作运行的模拟程序
一个模拟200,201电话卡系统 工作运行的模拟程序-a simulated 200,201 telephone cards system running the simulation program
- 2023-02-11 20:15:04下载
- 积分:1
-
FIFO页面置换算法
×FIFO页面置换算法
例如:进程P有5个页,进程访问页的顺序为:1,2,3,4,
- 2023-07-26 05:00:03下载
- 积分:1