登录
首页 » c++ » 给函数传递数组

给函数传递数组

于 2022-03-19 发布 文件大小:4.79 MB
0 105
下载积分: 2 下载次数: 1

代码说明:

#include using namespace std; double average(double array[],int count);                             //函数原型 int main(void) { double values[]={1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0}; cout

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

发表评论

0 个回复

  • tsale
    旅行最佳路线的确定(travel to determine the best route)
    2004-12-15 17:50:31下载
    积分:1
  • zypcomun9.1109
    DSP28335通过CANA口和DSP28335通讯,调试通过,通讯波特率100K。(DSP28335 and DSP28335 through CANA mouth communication, debugging through the communication baud rate 100K.)
    2020-12-30 20:29:00下载
    积分:1
  • fdss
    长株潭地区水环境生态安全评价.The Changsha-Zhuzhou-Xiangtan area ecological security assessment of water environment.(The Changsha-Zhuzhou-Xiangtan area ecological security assessment of water environment.)
    2012-01-07 10:14:41下载
    积分:1
  • Task-3
    用interrupt控制两个电机,要求可以随意改变任意一个的速度(use interrupt)
    2012-02-06 05:38:09下载
    积分:1
  • STM32F10Xgjhsk_jb51
    说明:  freeRTOS stm32103 stm32 F1054
    2020-06-20 03:40:01下载
    积分:1
  • ocean-master
    说明:  通过OpenGL实现一个简单的海洋模拟,不涉及光照。(A simple solution for ocean simulation)
    2020-08-04 16:16:08下载
    积分:1
  • chart
    自己写的一个示波器控件,支持多波形,鼠标左键拖动缩放,范围自动变化等各项功能。(Own wrote an oscilloscope controls, support for multiple waveforms, the left mouse button drag zoom, automatic range changes and other functions.)
    2021-01-29 11:58:39下载
    积分:1
  • lpcceplpc倒谱系数DTW
    程序检测LPC将使用DTW。 ;它检测到的LPC系数从WAV文件和 ;利用检测到的值,做DTW。
    2022-06-29 22:56:36下载
    积分:1
  • MAVLINK_CRC
    mavlink协议的CRC校验程序,输入对应的MAVLINK消息帧,输出该消息帧的CRC校验位。(Mavlink protocol of the CRC validation process, enter the corresponding MAVLINK message frame, the output of the message frame of the CRC check bit.)
    2021-05-10 10:18:52下载
    积分:1
  • ChuiDu
    计算各种环境参数下的架空杆路垂度,确保通信线路安全(Caculate fiber f)
    2014-09-10 15:47:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载