登录
首页 » Visual C++ » 3.13

3.13

于 2015-03-04 发布 文件大小:14KB
0 130
下载积分: 1 下载次数: 1

代码说明:

  读一组整数到vector对象,计算并输出每对相邻元素的和。如果读入元素个数为奇数,则提示用户最后一个元素没有求和,并输出其值。(Read a set of integers to vector objects, calculate and output, and each pair of adjacent elements. If you read an odd number of elements, the last element of the user is prompted no summation, and output its value.)

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

发表评论

0 个回复

  • sv22
    地震SV波的源代码,得出反射系数,透射系数,转换波的反射系数,透射系数等(SV wave seismic source code, come the reflection coefficient, transmission coefficient, reflection coefficient, transmission coefficient converted waves, etc.)
    2014-01-01 20:59:22下载
    积分:1
  • Matlab-paphnet-web
    matlab教程,好东西,希望大家喜欢,给我点鼓励(matlab tutorial, good stuff, hope you like, give me to encourage)
    2012-05-27 08:55:56下载
    积分:1
  • LFM
    该程序可以用于产生LFM信号,并输出在理想和加噪情况下分别经过匹配滤波器后的结果。(The program can be used to generate LFM signal, and outputs the noise in the ideal case and processing each of the results after the matched filter.)
    2013-12-14 15:56:00下载
    积分:1
  • MUSIC
    高阶累积量的music算法,包括多种music算法之间的对比分析(Cumulant music algorithm)
    2011-01-02 16:09:14下载
    积分:1
  • simpack
    多体系统动力学基础及机车车辆仿真应用(共三讲20页左右)(Multibody system dynamics simulation application base and locomotives)
    2014-03-28 21:29:21下载
    积分:1
  • ddDlg
    VC++编程,将文本10000点的数据导入,将1000点的数据导出,然后可以直接导入Matlab程序中画出实时波形。(VC++ programming, the text data into 10,000 points, 1,000 points will export the data, then import the Matlab program can draw real-time waveform.)
    2010-09-05 09:23:24下载
    积分:1
  • 长周期光纤光栅传输谱
    说明:  利用耦合模理论分析了光纤Bragg光栅中纤芯模间的耦合、倾斜光纤光栅中纤芯模与辐射模和包层模间的耦合(The coupling mode theory was used to analyze the coupling between the core modes in the fiber Bragg grating and the coupling between the core mode and the radiation mode and the cladding mode in the tilted fiber grating.)
    2021-03-04 09:29:33下载
    积分:1
  • 5
    一道程序编译顺序的考题,涉及到函数调用的先后顺序及运算符号的优先级等问题。下面我展开给你讲。 C的程序编译总是从main函数开始的,这道题的重点在“fun((int)fun(a+c,b),a-c)) ”语句。 系统首先要确定最外层 fun()函数的实参,第一个参数的确定需要递归调用fun()函数(不妨称其为内层函数)。内层函数的两个参数分别为x=a+b=2+8=10、y=b=5,执行函数体x+y=10+5=15,于是得外层函数的参数x=15。其另一个参数y=a-c=2-b=-6,再次执行函数体,得最终返回值x+y=15+(-6)=9。 (Compiling together the sequence of test procedures, involving the sequence of function calls and operator symbols, such as the priority problem. Now I give you to start speaking. Procedures for C compiler always start from the main function and at这道题the focus of " fun ((int) fun (a+ c, b), ac)) " statement. System must first determine the most outer layer of fun () function of real parameters, the first parameters of recursive calls required fun () function (may be called the inner function). Inner function separately for the two parameters x = a+ b = 2+8 = 10, y = b = 5, to execute the function body x+ y = 10+5 = 15, then the outer function parameters were x = 15 . Its another parameter y = ac = 2-b =- 6, once again to execute the function body may eventually return the value of x+ y = 15+ (-6) = 9.)
    2009-03-15 15:36:23下载
    积分:1
  • MATLABC-C
    MATLABC数学函数库在C语言中的应用(MATLABC math library in C language)
    2012-10-08 10:08:01下载
    积分:1
  • Library
    说明:  已修改了各種發光原碼及人物顯示模式 以及怪物血量(Have modified the original code and the character of various light-emitting display mode and the monster blood)
    2010-05-03 03:18:49下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载