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

给函数传递数组

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

  • baodianf
    C语言经典学习宝典,很好的东西啊,大家看看(C-classic study canon that a good thing ah, we take a look)
    2009-11-13 18:25:53下载
    积分:1
  • mailtoServer123
    mail to server mail to server mail to server mail to server mail to server mail to server (mail to server mail to server mail to server mail to server mail to server )
    2016-09-19 21:40:57下载
    积分:1
  • 温度检测
    本系统是基于STM32F103RBT6微控制器所设计的温度测量系统,通过温度芯片传感器 DS18B20 测量温度,微控制器驱动液晶模块显示当前测得的温度。该测温系统应用测温传感器DS18B20.通过DS18B20把温度值转换成数字量,把数字量送给微处理器,并在液晶显示器上显示出来(This system is based on the temperature measurement system designed by the STM32F103RBT6 micro controller. The temperature is measured by the temperature chip sensor DS18B20, and the micro controller drives the liquid crystal module to display the current temperature. The temperature measurement sensor DS18B20. converts the temperature value into the digital quantity by DS18B20 and sends the digital to the microprocessor and displays it on the liquid crystal display.)
    2018-06-12 18:25:41下载
    积分:1
  • 源码 基于XILINX FPGA的ofdm通信系统基带设计
    verilog 源码 基于XILINX FPGA的ofdm通信系统基带设计(Experiment of digital signal processing: parallel filtering experiment code. I hope it will help.)
    2018-03-08 17:24:27下载
    积分:1
  • AD02
    stc12c5a60s2AD采样,两路,验证,可使用。(AD sampling)
    2013-08-10 09:11:59下载
    积分:1
  • vp树
    #ifndef _VPTREE_HEADER_ #define _VPTREE_HEADER_ #include #include #include #include #include #include template class VpTree { public:     VpTree() : _root(0) {}     ~VpTree() {         delete _root;     }     void create( const std::vector& items ) {         delete _root;         _items = items;         _root = buildFromPoints(0, items.size());     }     void search( const T& target, int k, std::vector* results, std::vector* distances) 
    2023-06-23 00:20:03下载
    积分:1
  • jianpan
    单片机4x4键盘程序,好用!!!!!!!!!!!!!!!!!!(dd)
    2009-03-27 22:01:36下载
    积分:1
  • DcmtkTest
    本程序使用dcmtk库,可以显示大部分的DICOM图像。非压缩、压缩黑白图像以766灰阶显示,彩色图像正常显示。 对于初用dcmtk库的开发者来说,入门较难,本程序已使用VC6工程将主要库加入工程中,可以参考本工程的设置。另外,对于高于8位的黑白图像,本程序也提供一个处理方法的参考。(This procedure used dcmtk library, you can see that the majority of the DICOM image. Non-compressed, compressed to 766 gray-scale black-and-white images show that color image display. Dcmtk library used for the early developers, the entry more difficult, the procedure has been in use for the main library VC6 project will join the project, can refer to the project settings. In addition, higher than the 8-bit black-and-white images, the program also provides a reference method.)
    2009-06-01 14:19:42下载
    积分:1
  • 固体中的超声波
    板波资料和书,里面有瑞利波和lamb波的相关资料(Plate wave data and books)
    2017-12-10 21:53:54下载
    积分:1
  • CPP
    本内容是C++教材的电子版本,非常适合初学者来学习C++的。(failed to translate)
    2013-05-04 18:42:45下载
    积分:1
  • 696518资源总数
  • 104224会员总数
  • 54今日下载