登录
首页 » Visual C++ » 2

2

于 2008-06-22 发布 文件大小:1431KB
0 239
下载积分: 1 下载次数: 0

代码说明:

说明:  经典的霍夫曼算法程序!和西西论课本上的算法是配套的,希望对大家有所帮助!(Hoffman algorithm procedures classic! And West of textbooks on algorithms are complementary, and they hope to help you!)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • account
    设计一个名为Account类。这个类包含: (1)一个名为id的int型数据域,表示账户的身份号(默认值为0)。 (2)一个名为balance的double型数据域,表示账户余额(默认值为0)。 (3)一个名为annualInterestRate的double型数据域,保存当前年利率(默认值为0)。 (4)一个无实参构造函数,创建一个默认账户。 (5)id、balance和annualInterestRate的访问器和更改器函数。 (6)一个名为getMonthlyInterestRate()的函数,返回月利率。 (7)一个名为withDraw的函数,从账户中支取指定金额。 (8)一个名为deposit的函数,向账户中存入指定金额。 画出类的UML图,实现类。编写一个测试程序,它创建一个Account对象,其ID为1122,账户余额为20000,年利率为4.5 。使用withDraw函数取出2500美元,使用deposit函数存入3000美元,然后输出账户余额、月利率和账户创建时间。(Design a class named Account. This class includes: (a) a named data type int id field that indicates the account identification number (default is 0). (2) a double-called balance of data fields, which means that the account balance (default is 0). (3) a double type named annualInterestRate of data fields, save the current interest rate (default is 0). (4) a no-argument constructor creates a default account. (5) id, balance and annualInterestRate access control and change control functions. (6) a named getMonthlyInterestRate () function returns a monthly rate. (7) a function named withDraw, drawn from the account specified amount. (8) a function called deposit to the account into a designated amount. Draw a UML class diagram, the implementation class. Write a test program that creates an Account object, its ID is 1122, the account balance is 20,000, an interest rate of 4.5 . Use withDraw function out $ 2,500, $ 3,000 deposit with deposit function, and then outputs the account balance, m)
    2013-06-01 13:21:54下载
    积分:1
  • PrivateSubText1
    校运动会代码(部分),使用VB编程,由学生自己开发(yundonghui)
    2010-12-14 10:56:17下载
    积分:1
  • C++AGV 路径规划与运行仿真程序
    在AGV实现过程中,核心就在于AGV路径的规划和AGV自身的调度控制,该程序实现了AGV路径规划与运行仿真(AGV route planing and motion simulation)
    2017-10-11 01:02:53下载
    积分:1
  • QXAPRK
    是PDA如何打开BMP文件,如何显示在PDA屏目上,使用EVC4编译,在HP3210PDA上动行通过(PDA is how to open the BMP file, how to display on the PDA screen mesh, using EVC4 compilation, moving on HP3210PDA line through)
    2017-04-12 02:50:16下载
    积分:1
  • 相似度
    VB小工具检测两段文字的相似度是否》50%(visual basic check two word)
    2020-06-22 14:20:02下载
    积分:1
  • CAN_bootloader
    freescale .S19目标文件,走CAN线通信的bootloader上位机,要么不上传,上传的都是经典(freescale bootloader Client)
    2013-10-09 08:54:37下载
    积分:1
  • 628089
    说明:  
    2018-05-23 10:32:57下载
    积分:1
  • VHRXEX
    说明:  win32 opengl画线,配置好了glut,h(Win32 opengl draws lines, and glut,h is configured)
    2018-12-30 07:59:19下载
    积分:1
  • c-xuexi
    1将字符串给整形变量 2字符数据与整数进行算术运算,将小写转大写 3符号常量使用 4强制类型转换 5将有符号数据传送给无符号变量(1 to 2 string variables to the plastic character data and integer arithmetic operations to be lower case to upper case 3, the constant use of symbols 4 mandatory conversion 5 data will be transmitted to the symbol variable unsigned)
    2009-07-10 15:05:37下载
    积分:1
  • biaodashiqiuzhi
    表达式求值程序,很好的实现表达式的ascii码输入,到数值计算(Expression evaluation procedures, to achieve a very good expression of the ascii code input to the numerical calculation)
    2009-07-16 16:10:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载