联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 控制台编程(85) 
按平台查找All Visual C++(85) 

[控制台编程] zhongweishu

i.中位数问题 问题描述 设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。 编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n< 200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。 结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中。 输入文件示例 输出文件示例 input.txt output.txt 3 5 15 18 3 14 21 14
That is a difficult problem which i used dynamic ways to solve it. (2017-05-25, Visual C++, 1KB, 下载1次)

http://www.pudn.com/Download/item/id/1495698372632683.html

[控制台编程] medo

设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。  编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中
Let X [0: n- 1] and Y [0: n- 1] for the two arrays, each array containing the n number has been sorted. 2n X and Y to identify the number of digits.  programming tasks using the divide and conquer strategy try to design an O (log n) time algorithm to calculate this median number 2n. Data input by the input data provided input.txt file. The first line in the file has a positive integer n (n < = 200), that there are n numbers of each array. The next two lines are the X, Y array elements. The end result is output program runs, the calculated median output to file output.txt (2013-09-07, Visual C++, 1KB, 下载17次)

http://www.pudn.com/Download/item/id/2350065.html

[控制台编程] Electricity

电力公司电费收取中涉及的信息主要有:用户号、姓名、类别(居民照明、工业用电)、 起始度、止度、电价、金额、收费单位、日期。要求编程程序实现如下功能: 1)信息录入:当输入用户号为-999时,结束录入,同时将录入的信息以增加的方式 写入到指定的文件中; 2)查询:输入用户号,显示所找到用户的所有信息;3)修改: 输入用户号或姓名,修改指定收费中的相关信息,将修改结果写回文件保存;4)删除: 输入用户号,能够删除指定人员的信息,将删除后结果写回文件;5)排序:要求按姓名 进行降序排列后输出;6)显示:以表的形式输出所有通讯簿中信息;7)统计:按日期统 计电费金额并显示统计结果 要求以每个功能以函数实现,以菜单的形式显示各功能,从菜单中选择相应的编号后执 行相应的功能。
电力公司电费收取中涉及的信息主要有:用户号、姓名、类别(居民照明、工业用电)、 起始度、止度、电价、金额、收费单位、日期。要求编程程序实现如下功能: 1)信息录入:当输入用户号为-999时,结束录入,同时将录入的信息以增加的方式 写入到指定的文件中; 2)查询:输入用户号,显示所找到用户的所有信息;3)修改: 输入用户号或姓名,修改指定收费中的相关信息,将修改结果写回文件保存;4)删除: 输入用户号,能够删除指定人员的信息,将删除后结果写回文件;5)排序:要求按姓名 进行降序排列后输出;6)显示:以表的形式输出所有通讯簿中信息;7)统计:按日期统 计电费金额并显示统计结果 要求以每个功能以函数实现,以菜单的形式显示各功能,从菜单中选择相应的编号后执 行相应的功能。 (2012-05-07, Visual C++, 3KB, 下载5次)

http://www.pudn.com/Download/item/id/1859706.html

[控制台编程] fasfklhsdg

让初学者从 Turbo C 2.0(以下简称 TC) 或 Borland C++ 3.1 开始学编程是个不错的建议,只是 TC 的环境实在太老了,复制粘贴都很不方便。有一个 Win-TC,简单用了一下,实在是个害人的东西,还不如 TC 好呢,因为它简化了所有调试的部分(或许是我没看到?),而调试是写程序相当重要的一部分。 不少老师直接拿 VC6 来讲 C 语言的,因为 VC6 的编辑和调试环境都很优秀。只可惜在 VC6 下只能做一些文字性的练习题,想画条直线画个圆都很难,还要注册窗口类、建消息循环等等,初学者会受严重打击的。许多老师让学生在 TC 下绘图,因为这的确会让人有兴趣。 所以,我想给初学者一个更好的学习环境,就是 VC6 的平台 + TC 的绘图功能,于是就有了这个库。如果您刚开始学 C 语言,或者您是一位教 C 语言的老师,那么这个东西一定会让您兴奋的.
For beginners to from Turbo C 2.0 (hereinafter referred to as the TC) or Borland C++ 3.1 began to learn programming is a good suggestion, only TC the environment is too old, copy paste is very not easy. There is a Win-TC, simple in it, and it s a harm things as well? The TC, because it was all part of the simplified debugging (maybe I didn t see?) , and debugging is an important part of writing programs. Many teachers directly with VC6 speaking C language, for VC6 editors and debugging environment are excellent. Except that in under VC6 can only do some characters exercises, want to draw lines are difficult to draw a circle, but also registered window class, build news cycle, and so on, beginners will be hit hard. Many teachers let students at TC next drawing, because it will let people are interested in. So, I want to give beginners a better learning environment, is the platform+ TC VC6 drawing function, and there was this library. If you just started to learn C language, or you (2012-03-28, Visual C++, 69KB, 下载4次)

http://www.pudn.com/Download/item/id/1809250.html

[控制台编程] DarkShell

Darkshell 是一款小巧的远程后门控制软件,它的特点是运行后不在进程里显示、没有用到动态链接库DLL、不添加启动项。这是暴风仿的源代码,只供学习网络编程,不要用于其它用途。
Darkshell backdoor is a small remote control software, which is characterized by the process is not running in the show did not use the dynamic link library DLL, do not add startup items. This is imitation of the source code of the storm, only to learn network programming, not to be used for other purposes. (2011-04-23, Visual C++, 5519KB, 下载31次)

http://www.pudn.com/Download/item/id/1503152.html
12345
总计:85