Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - h.3
Search - h.3 - List
算法5.1 1. 输入a,b,ε。 2. 置n=1,h=(b-a)/2,T0=h(f(a)+f(b)). 3. 置F=0,对i=1,2,....n,求 F=F+f(a+(2i-1)h) 4. T=T0+hF. 5.若|T-T0|<3ε,输出I≈T停机 否则置2n=>n,h/2=>h,T=>T0,转步骤3。 程序说明: 本程序暂时支持正弦函数的计算
Date : 2008-10-13 Size : 901byte User : 高峰

算法5.1 1. 输入a,b,ε。 2. 置n=1,h=(b-a)/2,T0=h(f(a)+f(b)). 3. 置F=0,对i=1,2,....n,求 F=F+f(a+(2i-1)h) 4. T=T0+hF. 5.若|T-T0|<3ε,输出I≈T停机 否则置2n=>n,h/2=>h,T=>T0,转步骤3。 程序说明: 本程序暂时支持正弦函数的计算
Date : 2008-10-13 Size : 786byte User : 高峰

算法5.1 1. 输入a,b,ε。 2. 置n=1,h=(b-a)/2,T0=h(f(a)+f(b)). 3. 置F=0,对i=1,2,....n,求 F=F+f(a+(2i-1)h) 4. T=T0+hF. 5.若|T-T0|<3ε,输出I≈T停机 否则置2n=>n,h/2=>h,T=>T0,转步骤3。 程序说明: 本程序暂时支持正弦函数的计算 -Algorithm 5.11. Input a, b, ε. 2. Purchase n = 1, h = (ba)/2, T0 = h (f (a)+ F (b)) .3. Home F = 0, for i = 1,2 ,.... n , and F = F+ f (a+ (2i-1) h) 4. T = T0+ hF.5. If | T-T0 | <3ε, output shutdown unless I ≈ T Purchase 2n => n, h/2 => h, T => T0, turn to Step 3. Procedure Description: This procedure temporarily to support the calculation of sine function
Date : 2025-12-16 Size : 1kb User : 高峰

算法5.1 1. 输入a,b,ε。 2. 置n=1,h=(b-a)/2,T0=h(f(a)+f(b)). 3. 置F=0,对i=1,2,....n,求 F=F+f(a+(2i-1)h) 4. T=T0+hF. 5.若|T-T0|<3ε,输出I≈T停机 否则置2n=>n,h/2=>h,T=>T0,转步骤3。 程序说明: 本程序暂时支持正弦函数的计算 -Algorithm 5.11. Input a, b, ε. 2. Purchase n = 1, h = (ba)/2, T0 = h (f (a)+ F (b)) .3. Home F = 0, for i = 1,2 ,.... n , and F = F+ f (a+ (2i-1) h) 4. T = T0+ hF.5. If | T-T0 | <3ε, output shutdown unless I ≈ T Purchase 2n => n, h/2 => h, T => T0, turn to Step 3. Procedure Description: This procedure temporarily to support the calculation of sine function
Date : 2025-12-16 Size : 1kb User : 高峰

DL : 0
本视频监控系统主要实现了云台控制、快照和录像、录像回放、定时自动监控、监控管理及日志。本系统默认操作员用户名为:tsoft,密码为:111。 (2)可执行文件路径:\Debug\Capture.exe (3)本系统使用的硬件是天敏VC4000监控卡,其中使用了MPG4c32.dll、MediaTransmit.dll、MediaTransmit.lib、MediaTransmit.h、Sa7134Capture.dll、Sa7134Capture.lib和Sa7134Capture.h几个文件,在运行程序前,需要将这些文件添加到当前工程中。程序中没有提供这些文件。 -The video surveillance system is mainly achieved head control, snapshots and video, video playback, time automatic monitoring, management and monitoring logs. The operator of the system default user name: tsoft, password: 111.
Date : 2025-12-16 Size : 1.35mb User : asd

DL : 0
定义和使用分数类fraction 描述: 1.自定义分数类fraction,使用该类可以完成分数的输入、分数的加、减、乘、除二目运算和一目减运算、分数的约分操作、分数的倒数运算、对两个分数进行六种比较运算、以及对分数的输出等操作。 2.将其中使用的普通函数尽量改写成运算符重载函数。如,可重载+、-、*、/、>、>=、<、<=、==、!=,以实现分数的各种运算。并且实现分数与整数的混合运算。 3.尽可能考虑程序的性能。 -评分标准 1. 对两个类的成员合理地使用访问权限:1分 2. 实现分数与整数的混合运算:1分 3. 程序结构合理,布局清晰,正确地安排.h和.cpp:2分 4. 考虑程序的性能:1分
Date : 2025-12-16 Size : 8kb User : 王云翔

DL : 1
完成迷宫程序的设计 输入 从maze.txt文件读入迷宫,格式如下 其中第一行为迷宫的阶数N,接下来是一个N*N的矩阵代表迷宫,0为路径,1为障碍物。 实验要求 要求自学查询技术文档,利用STL 的stack 类,完成以下要求的功能: 1. 打印迷宫: DisplayMaze()或者重载<< 其中(1,0)位置和(N-2,N-1)位置打印“=>,其余的1的位置打印“##”,0的位置打印“ ”(两 个空格),注意每个位置都是两个字符。 打印示例: 2. 寻找走出迷宫的路径并输出 FindPath() 输出格式为: (1,1)->(2,1)->(2,2)->…… 并输出需要的步数。 3. 动态打印走迷宫的路径 WalkPath() 动态显示出走出迷宫的过程,每一次移动时都相应地修改显示状态。为了能让用户看清显示过程,必须使代码减速,做到大约每秒钟移动一次。为此,可在代码中插入等待语句,每次等待0.25秒的时间,即每秒钟走’4步。 你可能用到的语句: Sleep(250) 程序睡眠(in <windows.h>) system(“cls”) 清屏-Completed the design of the maze procedure Enter From maze.txt file read into the maze, the following format Wherein the first maze behavior order N, followed by a N* N matrix representing maze, path 0, and 1 is an obstacle. Experimental requirements Requires self-query technical documentation, use of STL stack class, complete the following requirements: Print maze: DisplayMaze or overloaded << Wherein the position of the (1,0) and position (N-2, N-1) Print "=> the rest position 1 Print"## ", the print position" (two Space), pay attention to each location are two characters. Print examples: Looking out of the labyrinth the path and the output FindPath () The output format is: (1,1)-> (2,1)-> (2,2)-> ...... And output the number of steps required. 3 Print dynamic Maze the path WalkPath (and) Dynamic display out of the labyrinth, every move to modify the display. Order to allow the user to see the display process, you must make the code deceleration do ab
Date : 2025-12-16 Size : 203kb User : ld

DL : 0
一个简单的vc++控制台贪吃蛇程序。如vs2005及以上vs出现如warning C4996的警告: 1.在预编译头文件stdafx.h里(注意:一定要在没有include任何头文件之前)定义下面的宏: #define _CRT_SECURE_NO_DEPRECATE 2.#param warning(disable:4996) 3.更改预处理定义: 项目->属性->配置属性->C/C++ -> 预处理器 -> 预处理器定义,增加_CRT_SECURE_NO_DEPRECATE 方-A simple the console vc++ Snake program. Such as the vs2005 and above vs appear as warning C4996 warning: precompiled header file stdafx.h (Note: Be sure to not include any header files) define the following macro: the# define _CRT_SECURE_NO_DEPRECATE 2# param warning ( disable: 4996) 3. changes preprocessor definition: Project-> Properties-> Configuration Properties-> the C/C++-> preprocessor-> preprocessor definitions, increase _CRT_SECURE_NO_DEPRECATE party
Date : 2025-12-16 Size : 3kb User : 飞烦

DL : 0
选取哈希函数 H(k)=(3k) MOD 11。用开放定址法处理冲突,di = i((7k) MOD 10+1) (i=1,2,3,…)。试在 0~10 的散列地址空间中对关键字序列(22, 41, 53, 46, 30, 13, 01, 67)造哈希表,并求等概情况下查找成功时的平均查找长度。-Hash function
Date : 2025-12-16 Size : 1kb User : rua

DL : 0
好多opencv的应用程序界面中在MFC中显示图像,但是我发现这些显示功能大部分用到了一个叫CvvImage的类,最近使用opencv2.3.1,发现找不到这个类了。 没有具体研究过opencv ,但是opencv在MFC中显示图像需要用的一个叫做CvvImage的类的DrawToHDC()的函数,但是我在2.3.1下却怎么也没有找到这个类,和这个函数。在2.3.1的文档下没有关于这个的任何资料,不知道是不是新版本的opencv去掉了这个类,或者用其他的方式实现了。所以我需要用以前的方式实现这个类。在网上找了一些资料。发现这个问题可以这样处理。 我们可以自己建立一个CvvImage.h和一个CvvImage.cpp的文件,添加到工程中。这样我们在工程中包含上这个CvvImage.h的头文件,就可以正常的按照以前的方式使用CvvImage类将图像绘制到MFC控件中了-Many opencv application interface in the MFC display images, but I found that most of these display features used in a class called CvvImage, the recent use of opencv2.3.1, found that the class can not find. There is no specific study of the opencv, but opencv in the MFC to display the image needs to be used in a class called DrawToHDC () function, but I did not find the kind of 2.3.1 under the CvvImage, and this function. There is no information about this in the 2.3.1 document, and it is not known whether the new version of OpenCV has removed this class, or has been implemented in other ways. So I need to use the old way of this class. On the Internet for some information. Found the problem can be handled in this way. We can create a CvvImage.h and a CvvImage.cpp file, added to the project. So we in the project includes the CvvImage.h header file, you can normally use the CvvImage class in accordance with the previous way draws the image to the MFC control.
Date : 2025-12-16 Size : 3kb User : hongh
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.