-
fibonaci
Fibonacci数列,已知一个Fibonacci数,能求出它的N值(Where Fibonacci sequence, a number of known where Fibonacci, can find its N)
- 2009-12-04 15:38:11下载
- 积分:1
-
编辑框的简单自绘制
编辑框是常用控件之一,同时也是一种完全自实现较为繁琐的控件。本例实现了对编辑框的简单的自绘制,在保留其自身的强大功能的前提下,实现了编辑框的边框、背景、文字颜色以及禁用态的各种颜色的替换。 要想重绘,我们必须知道要绘什么。通过观察默认的编辑框我们可以很清楚的看到编辑框有三个最基础的部分需要我们绘制,他们分别是3D边框、背景和文字,再进一步分析我们会发现他们是一个基本窗口的两个部分,即客户区和非客户区。这样一来我们就知道应该用什么函数有针对性的绘制什么区域了,由于提供了源码,这里仅就基本原理和技术细节加以讨论,不过多地罗列代码。(Editor box is one of the common controls, and it is also a kind of control which is completely self-realization and tedious. This example realizes the simple self-drawing of the edit box, and realizes the replacement of the border, background, text color and various colors of the disabled state of the edit box while retaining its powerful function. To redraw, we must know what to draw. By observing the default edit box, we can clearly see that there are three most basic parts of the edit box that we need to draw. They are 3D border, background and text. Further analysis shows that they are two parts of a basic window, namely, client area and non-client area. In this way, we know which function should be used to draw which area. Since the source code is provided,)
- 2020-06-16 05:40:02下载
- 积分:1
-
Debug
仅供学习这个是C语言二级考试中有难度的题(For study only. This is a difficult question in the C Language Level 2 Examination.)
- 2020-06-24 19:00:01下载
- 积分:1
-
diangandianrong
刚才上传的频率计程序可能不太好,现在这个计数外部脉冲的程序,还是较好的,只是得自己从中截取出来(Just upload the program may not be a good frequency counter, and now this external pulse count procedures, or better, just get yourself out from the interception of)
- 2011-11-19 17:06:19下载
- 积分:1
-
vrp-jieyuelichengsuanfa
数模vrp问题---节约里程算法C++代码 (vrp saving mileage algorithm C++ code。)
- 2013-08-18 11:16:42下载
- 积分:1
-
opnet_aloha
实例 用Modeler搭建一个ALOHA协议仿真平台,进一步熟悉Modeler节点级和进程级的操作,深化三层建模机制。(进程->节点->网络)
(Examples ALOHA protocol with Modeler to build a simulation platform to further familiarize Modeler node level and process-level operations, deepening three modeling mechanism. (Process-> Node-> Network))
- 2014-01-05 17:08:34下载
- 积分:1
-
quicksort
说明: Quick Sort an implementation in c++language. may it help others in their projects
- 2019-12-14 19:12:38下载
- 积分:1
-
实现了在线考试的功能,教师学生及管理员通过不同界面实现各自功能...
实现了在线考试的功能,教师学生及管理员通过不同界面实现各自功能-C#
- 2022-04-29 07:50:29下载
- 积分:1
-
一个学生管理系统
说明: 基于ODBC的数据库模式,用MFC创建一个学生成绩管理软件。程序的实现主要在视图Cstudentview类中完成,其中可以完成的功能有:显示全部记录、增加记录、删除记录、修改记录、排序记录、查寻记录,并且在控件表格中直观的显示。(based ODBC database model, the MFC with the creation of a student performance management software. The main procedures in achieving View Cstudentview category completed, which can be accomplished functions : All the records, record increase, delete records, modify records, sorting records, the searching of records, Controls in the form visual display.)
- 2006-01-07 11:28:43下载
- 积分:1
-
C# 最经典 简单的progressBar进度条用法示例
这是一个大家都熟悉的实用技巧,用C#制作进度条功能,本代码演示了最简单,且实现方法简单的progressBar进度条用法示例,
单击按钮后,开始演示进度条效果,这部分代码写在按钮事件中:
progressBar1.Value = 0;//设置进度条的初始值
progressBar1.Minimum = 0;//设置progressBar1控件的Minimum值为0
progressBar1.Maximum = 500;//设置progressBar1的Maximum值为500
progressBar1.Step = 1;//设置progressBar1的增值为1
for (int i = 0; i < 500; i++)//调用for语句循环递增
{
progressBar1.PerformStep();//使用PerformStep方法按Step值递增
textBox1.Text = "进度值:" + progressBar1.Value.ToString();
}
- 2022-08-18 01:25:55下载
- 积分:1