ChaseDream
搜索
12下一页
返回列表 发新帖
查看: 3967|回复: 17
打印 上一主题 下一主题

求助CS专业高手一道编程作业题,有木有人可以帮我???小女子不胜感激!!!

[复制链接]
跳转到指定楼层
楼主
发表于 2011-4-27 11:01:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
同上
要用C++编程,题目在下面。
收藏收藏 收藏收藏
沙发
 楼主| 发表于 2011-4-27 11:04:39 | 只看该作者
Design a class that has an array of floating-point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers. The destructor should free the memory held by the array. In addition, there should be member functions to perform the following operations:
Store a number in any element of the array
Retrieve a number from any element of the array
Return the highest value stored in the array
Return the lowest value stored in the array
Return the average of all the numbers stored in the array
板凳
 楼主| 发表于 2011-4-27 11:09:02 | 只看该作者
不能沉啊不能沉,一定要来个人帮帮我,不然明天完蛋了……
地板
 楼主| 发表于 2011-4-27 11:16:23 | 只看该作者
会的人加我qq吧,245867643,Please……Please……
5#
发表于 2011-4-27 11:19:19 | 只看该作者
貌似这是C++?我只会些JAVA。。不知道怎么CLEAR OUT MEMORY。。。
6#
 楼主| 发表于 2011-4-27 11:20:13 | 只看该作者
能不能加我qq啊?
7#
发表于 2011-4-27 11:21:56 | 只看该作者
=  =孩子你连用什么语言都没说...

c++?java?c#? objective c?
8#
 楼主| 发表于 2011-4-27 11:22:53 | 只看该作者
=  =孩子你连用什么语言都没说...

c++?java?c#? objective c?
-- by 会员 fay009 (2011/4/27 11:21:56)



是用C++
对不起……
9#
发表于 2011-4-27 11:27:41 | 只看该作者
不是啊。。JAVA SYNTAX跟C++不太一样吧。。。我觉得难点是在那个MEMORY上。。。

其余那些问题。。也就是最基本的算术吧?
10#
发表于 2011-4-27 11:31:05 | 只看该作者
这个 很 basic吧,书上都有相当类似的吧
您需要登录后才可以回帖 登录 | 立即注册

Mark一下! 看一下! 顶楼主! 感谢分享! 快速回复:

所属分类: 商学院Master申请区

近期活动

正在浏览此版块的会员 ()

手机版|ChaseDream|GMT+8, 2025-4-30 16:27
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

© 2003-2025 ChaseDream.com. All Rights Reserved.

返回顶部