Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - a-w
Search - a-w - List
Delphi资源文件生成工具 我经常要在程序中加入许多资源,比如:声音、位图、光标等,这样可以使自己 软件更具特色。可以自己建立一个.RC的文件,然后再用Delphi\\Bin\\Brcc32.EXE来 编译生成一个.RES的文件,有了这个文件才能把资源编译到软件中去。 可是如果要加入一大批资源,要加入30个位图和20个光标的话,就要在.RC文件中一 行行加入要用的资源,比较麻烦。我是个懒人,所以自已写了这个能自动批量帮你完 成这个任务的工具,可以非常方便的生成.RES资源文件。 注意:由于Borland的Brcc32.EXE不能识别包含有空格和汉字的路径,所以你的资源来 源路径和保存路径不要带有空格和汉字,否则不能建立.RES的文件。-Delphi resources to generate tool I often join in the proceedings of many resources, for example : voice, bitmaps, cursors, etc., can make more software features. One can establish their own. RC paper, and then spend the Delphi \\ bin \\ Brcc32.EXE to build a generation. RES document, the document can have the resources to build software. But if a large number of resources to join, to join the 30-bit map and the cursor 20, then we should. RC paper lines to join with the resources, and trouble. I was lazy, so own writing this volume will automatically help you complete this task tool, it is easy generation. RES resource files. Note : Due to Borland's Brcc32.EXE not include recognition of Chinese characters and spaces are the path, so you Source path and not to preserve trails and spaces w
Date : 2008-10-13 Size : 231.99kb User : akay

DL : 0
一个五子棋程序,其中用双缓冲技术解决了棋子闪烁的问题 -a 331 procedures, which use double buffering technology to solve the problem pawn scintillation
Date : 2008-10-13 Size : 1.06mb User : 文宇

任务:参加运动会有n个学校,学校编号为1……n。比赛分成m个男子项目,和w个女子项目。项目编号为男子1……m,女子m+1……m+w。不同的项目取前五名或前三名积分;取前五名的积分分别为:7、5、3、2、1,前三名的积分分别为:5、3、2;哪些取前五名或前三名由学生自己设定。(m=10 , w=8 , n=15) 功能要求: 1). 可以输入各个项目的前三名或前五名的成绩; 2).能统计各学校总分(用链表); 3).可以按学校编号、学校总分、男女团体总分排序输出(快速、基数); 4). 可按学校编号查询学校某个项目的情况;可按项目编号查询取得前三或前五名的学校。 界面要求:有合理的提示,每个功能可以设立菜单,根据提示,可以完成相关的功能要求。 b)概要设计: 本程序所使用的数据结构是二维数祖和线形链表。 所使用的算法有:快速、基数、归并排序等。-mission : participation in the Games is n, the school No. 1 ... n. Competition is divided into men m, and w-woman project. Item No. 1 man ... m, a woman m m w .... Different items from the top five or top three integration; From the top five points were : 7,5,3,2,1, and the top three points were : red; From what the top five or top three, set by the students themselves. (M = 10, w = 8, n = 15) functional requirements : 1). The importation of various items in the top three or top five results; 2). Statistics schools score (with Chain); 3). According No. schools, the school scores and scores of men and women groups sorting out (fast base); 4). School No. inquiries can be a school project; Item numbers can be made for the first three or top five schools. Interface requirements : there is a re
Date : 2008-10-13 Size : 4.33kb User : 李韦纬

DL : 0
递归与分治算法的应用.零件切割问题 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小? -recursive algorithm with the partition of the application. Parts mutilation given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum?
Date : 2008-10-13 Size : 3.52kb User : 赵小美

DL : 0
零件切割问题 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小? -parts mutilation to a fixed width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum?
Date : 2008-10-13 Size : 35.37kb User : 张梦烨

DL : 0
零件切割问题 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小? -parts mutilation to a fixed width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum?
Date : 2008-10-13 Size : 31.92kb User : 张梦烨

DL : 0
使用CMemDC类解决应用程序的闪烁问题 在你的MFC程序中解决闪烁问题是个烦心的工作。你可以在书上或者网上找到关于这方面的介绍,但是介绍的技术一般都是很复杂的或者是很难应用到已经存在的程序中去。 一个京城使用的技术叫做双缓冲。双缓冲使用一个新的缓冲来画屏幕,然后把整个的屏幕显示在真正的屏幕上。 这篇文章使用了叫做CMemDC的类,这个类封装了绝大部分写入off-screen缓冲区的方法。在已经存在的MFC或者是ActiveX控件中加入CMemDC类是非常方便的。 怎样在你的MFC程序中使用CMemDC 1.在你的工程中加入memdc.h文件。 2.在stdafx.h中加入代码#include \"memdc.h\" 3.为窗口做WM_ERASEBKGND的消息映射 4.象下面那样改变处理消息的代码:-use CMemDC category of applications to solve the problem flashing in your MFC process is resolved Flicker 000 bother work. You can book online or find this regard, But introducing the technology in general are very complex or difficult to apply to already existing programs. Beijing used a technique called double buffering. Double buffer using a new buffer to paint a screen, then the screen shows that the whole of the real on the screen. This article called CMemDC use of the category, this category included the majority of package off-screen buffer method. The existence of MFC or ActiveX add CMemDC category is very convenient. What in your MFC procedures used CMemDC one. In your works into memdc.h document. 2. In addition stdafx.h code # include "memdc.h" 3. For window W M_ERASEBK
Date : 2008-10-13 Size : 2.39kb User : 罗成

在终端输入: ./change 源文件名 目标文件名 即可将源文件中的行号滤去。 ^_^方便运行教程中的一些带行号的程序 比如 1: #!/usr/bin/perl -w 2: 3: $radius=50 4: 5: $area=3.14159*($radius ** 2) 6: print $area 经过处理后变成 #!/usr/bin/perl -w $radius=50 $area=3.14159*($radius ** 2) print $area -the terminal input :. / Change the source file name from the target file can be the source of filtered, OK. ^ _ ^ Guide convenient operation with a number of firms, such as a process : #! / usr / bin / perl-w 2 : 3 : $ radius = 50 4 : 5 : area = $ 3.14159 * ($ radius ** 2) 6 : area print $ processed into #! / usr / bin / perl-w $ radiu s = $ 50 area = 3.14159 * ($ radius ** 2) $ print area
Date : 2008-10-13 Size : 5.85kb User : 张盈

判断点是否在多变形内: 先画一个多边形 然后判断,如果在多边形内,显示“N” 如果在多边形外,显示“W”-in judgment over whether a deformation : the first draw a polygon then judge if the polygon, show "N" If the polygon, shows that the "W"
Date : 2008-10-13 Size : 61.82kb User : zt

DL : 0
目前在网上有一个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 dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx w
Date : 2008-10-13 Size : 356.85kb User : 王易

DL : 0
Returns a matrix of exponential deviates with parameter mu. This matches the distribution of speckle with a mean of mu.-Returns a matrix of exponential deviates w praxiology parameter mu. This matches the distributio n of speckle with a mean of mu.
Date : 2008-10-13 Size : 910byte User : tiantian

DL : 0
解决的问题: 零件切割问题,给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小? 该算法采用dc,最后结果采用图形界面画出。自主开发完成。-solve the problem : cutting parts, given a width of the rectangular plate W, the height of rectangular plate unrestricted. Need from the board is cutting out respectively n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum? The algorithm uses dc, the final results of using a graphical interface paint. Independent development completed.
Date : 2008-10-13 Size : 27.2kb User : 荣平

he power method will be applied to the jacobian matrix of the 2-D henon map to approximate the first Lyapunov exponent by creating a graph of ln|yn| vs. n, where n is the number of iterations of the power method and yn = 1/n*ln|DG^n(xo)*yo|. The slope will be an approximation to the largest Lyapunov exponent.-he power method will be applied to the jacob ian matrix of the 2-D map to approximate henon th e first Lyapunov exponent by creating a graph of ln | yn | vs. n, where n is the number of iterations of the power m ethod and yn = a / n * ln | DG ^ n (xo) * yo |. The slope w ill be an approximation to the largest Lyapunov exponent.
Date : 2008-10-13 Size : 1.39kb User : 杨蒙

its a useful code. Use this to hide MFC window. when your window code don t want to show other users. -its a useful code. Use this to hide MFC windo w. when your window code do not want to show other u sers.
Date : 2008-10-13 Size : 34.52kb User : 郭迎祥

DL : 0
Make the snake grow longer by directing it to the food. % Extra bonus points are given from hearts, eat them as fast as possible % as amount of bonus points decreases with time. % Higher level gives more points for the food but will also make it % tougher to steer a long snake as speed increaces. % Five different mazes as well as play w/o maze are possible.
Date : 2008-10-13 Size : 4.85kb User : cl
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.