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

给函数传递数组

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

  • 一个用c#编写的关于多线程同步的源代码,供大家学习参考。
    一个用c#编写的关于多线程同步的源代码,供大家学习参考。-A used c# Prepared by the simultaneous multi-threaded source code for everyone to learn the reference.
    2022-05-24 09:56:06下载
    积分:1
  • k-fold_cross-validation_binary_libsvm
    K fold cross validation on svm
    2016-10-30 00:53:07下载
    积分:1
  • traffic
    车辆检测: 1 识别车辆轮廓,并标识车辆轮廓 2 给出车辆的相对速度(Vehicle Detection: one to identify the vehicle contours, and marking the outline of 2 vehicles given the relative speed of vehicles)
    2007-09-30 11:33:37下载
    积分:1
  • xml 加密 解密 文件内容
    xml 加密 解密 文件内容
    2014-03-15下载
    积分:1
  • stm32飞控
    很不错的飞控 float q0 = 1, q1 = 0, q2 = 0, q3 = 0;    // quaternion elements representing the estimated orientation float exInt = 0, eyInt = 0, ezInt = 0;    // scaled integral error void IMUupdate(T_int16_xyz *gyr, T_int16_xyz *acc, T_float_angle *angle) { float ax = acc->X,ay = acc->Y,az = acc->Z; float gx = gyr->X,gy = gyr->Y,gz = gyr->Z;   float norm; //  float hx, hy, hz, bx, bz;   float vx, vy, vz;// wx, wy, wz;   float ex, ey, ez;   // ???????????   float q0q0 = q0*q0;   float q0q1 = q0*q1;   float q0q2 = q0*q2; //  float q0q3 = q0*q3;   float q1q1 = q1*q1; //  float q1q2 = q1*q2;   float q1q3 = q1*q3;   float q2q2 = q2*q2;   float q2q3 = q2*q3;   float q3q3 = q3*q3; if(ax*ay*az==0)
    2022-02-28 17:16:50下载
    积分:1
  • Chapter 1 of the basic knowledge of Delphi Chapter 2 Delphi syntax basis .... Ch...
    第1章 Delphi的基础知识第2章 Delphi的语法基础....第12章 图形图像与多媒体技术第13章 Delphi数据库编程-Chapter 1 of the basic knowledge of Delphi Chapter 2 Delphi syntax basis .... Chapter 12 graphics and multimedia technology Chapter 13 Delphi database programming
    2022-10-31 23:45:04下载
    积分:1
  • RandomForestCversion
    使用C语言实现的机器学习算法随机森林算法源码(Using C language implementation of machine learning algorithm of random forest algorithm source code)
    2021-02-22 10:29:41下载
    积分:1
  • GA-paper
    这是一篇硕士论文,题目是多目标优化的遗传算法研究(This is a master' s thesis topic is a multi-objective optimization by genetic algorithm)
    2011-05-25 14:32:00下载
    积分:1
  • srecord-1.64-win32_2
    说明:  嵌入式开发中常用的hex格式互相转化小工具(Mutual conversion of hex format in embedded development)
    2020-12-08 00:06:00下载
    积分:1
  • Mixer
    类似于电脑中的音量控制,可以与电脑中的音量控制实现同步(just like our PC s volume control)
    2009-09-22 16:32:39下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载