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

给函数传递数组

于 2022-03-19 发布 文件大小:4.79 MB
0 127
下载积分: 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 个回复

  • 串口调试助手
    说明:  支持9600,19200等常用各种波特率及自定义波特率,可以自动识别串口,能设置校验、数据位和停止位,能以ASCII码或十六进制接收或发送任何数据或字符,可以任意设定自动发送周期,并能将接收数据保存成文本文件,能发送任意大小的文本文件。 硬件连接方面,传统台式PC机支持标准RS232接口,但是带有串口的笔记本很少见,所以需要USB/232转换接口,并且安装相应驱动程序。(Support 9600, 19200 and other commonly used baud rates and custom baud rates, can automatically identify serial ports, can set check, data bits and stop bits, can receive or send any data or characters with ASCII code or hexadecimal, can arbitrarily set the automatic transmission cycle, and can save the received data into text files, can send any data. Text files of meaning size. In terms of hardware connection, traditional desktop PC supports standard RS232 interface, but notebooks with serial port are rare, so USB/232 conversion interface is needed and corresponding driver is installed.)
    2020-06-25 03:00:02下载
    积分:1
  • TRACERT
    支持IPv4和IPv6的路由探测代码,可以用来开发网络探测工具(traceroute in IPv4 and IPv6 network)
    2021-03-31 16:09:09下载
    积分:1
  • brisk
    使用vs2012 借助opencv2.4.7库实现brisk特征点提取及匹配。
    2022-04-26 10:30:48下载
    积分:1
  • BHS STM32 实验29-CAN通讯 (直接操作寄存器)
    准备两个CAN板子,连接两个CAN接口,两个板子都下载本程序。 本实验通过CAN总线控制另外一个板子的LED2~LED5闪烁的例子,如果通信正常可以看到两个板子的LED都再闪烁, 如果通信失败或者断开通信线,LED不再闪烁(Prepare two CAN board, connecting the two CAN interface, two board are download the program. This experiment through the CAN bus control another board LED2 ~ LED5 flashing example, if communication normal CAN see two board LED twinkle again, If communication failure or off the line, LED will no longer flash)
    2012-04-16 14:13:56下载
    积分:1
  • car
    OPENGL模型的小车,包含地面和车子的贴图纹理; 可以前后左右移动,在不同地面速度会改变。(OPENGL car models, including the floor and the car textures you can move around in different ground speed will change.)
    2021-01-01 10:18:58下载
    积分:1
  • Blink_6713
    宇志通信通用信号处理 开发板-GN0204中的测试EMIF的例程:利用TMS320C6713 TC2空间总线接口分别控制板上发光二极管闪烁(Ushi communication common signal processing board-GN0204 EMIF in test routines: Using TMS320C6713 TC2 space bus interface control the light-emitting diode panel flashes)
    2015-01-22 15:59:36下载
    积分:1
  • DX0043-微信开发框架
    这是我们团队自己开发的微信开发框架,可以直接拿来开发微信的项目,很方便实用,绝对能帮到你。
    2022-03-21 12:11:24下载
    积分:1
  • c程序
    烟雾报警器源代码,实现阈值可控,自动报警功能(Smoke alarm source code, achieve threshold control, automatic alarm function)
    2018-08-07 16:02:21下载
    积分:1
  • 录音
    原子板录音与播放,可以进行录音存储与播放。WAV格式,MP3播放
    2022-01-26 02:48:43下载
    积分:1
  • c# winform 播放gif图片实例(可暂停播放) 附完整源码
    一个播放gif图片的实例,如图
    2013-04-28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载