登录
首页 » Visual C++ » 3.13

3.13

于 2015-03-04 发布 文件大小:14KB
0 278
下载积分: 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 个回复

  • geneticalgorithm
    调试所用Matlab版本是6.5,gatbx-toolbox是调试过程中使用的工具箱,有些热心的研友已经提供了该工具箱,之所以再贴一遍,是因为6.5版本下调试该工具箱会出现一些错误提示,在该版本中已经进行了改正,使用该工具箱只需要将压缩包下的gatbx和gatbxTest_fns加入到Matlab搜索路径即可,另外gatbx-origin是Sheffield大学提供的原始版本的工具箱,未做任何改动,两者可做比较之用 3.gatbx-example是算例调试源码和各算例的调试说明,大家可以对照原书进行比较 4.窃以为gatbx工具箱较之Matlab7新版下的gads工具箱更能让人熟悉和了解遗传算法的原理和计算过程,虽然在可视化方面不及gads 5.学习遗传算法如果首先用熟相关工具箱的话,能够先培养信心,然后更有兴趣去专研和了解具体的算法,如果就用现有的工具箱就能解决问题的话,不了解其详细的算法也未尝不可,毕竟不是每个研友都能向see_moonlight那样开发自己的工具箱吧, ( The debugging uses the Matlab edition is 6.5, gatbx-toolbox debugs the toolbox which in the process uses, somewhat warm-hearted ground the friend already to provide this toolbox, the reason that pasted again, was because under 6.5 editions debugged this toolbox to be able to present some wrong prompts, had already carried on the correction in this edition, will use this toolbox only to need to compress package of under gatbx and gatbx Test_fns joins to the Matlab search path then, moreover gatbx-origin was the primitive edition toolbox which the Sheffield university provided, has not made any modification, both might make the comparison are the example debugging sound code and various examples debugging explained with 3.gatbx-example, everybody might compare the original bookCarries on comparison 4. in my opinion under the gatbx toolbox s to be able to let the human compared with Matlab7 update gads toolbox be familiar with the understanding genetic algorithm principle and)
    2010-10-17 15:04:57下载
    积分:1
  • AACEncode
    This program compress audio to AAC encoding format . It is developed by visual studio 2010. And written language C++.
    2014-01-15 09:38:26下载
    积分:1
  • main
    Threshold Adaptive Threshold
    2014-01-12 22:26:26下载
    积分:1
  • Matlabsimulinkcodes
    基于Matlab simulink的系统仿真设计及应用的函数文件代码(Matlab Simulink-based simulation system design and application code in the function)
    2007-05-21 10:43:48下载
    积分:1
  • Cpp1
    双音多频,由高频群和低频群组成,高低频群各包含4个频率。一个高频信号和一个低频信号叠加组成一个组合信号,代表一个数字。DTMF信号有16个编码。利用DTMF信令可选择呼叫相应的对讲机。(Dual tone multi-frequency, high-frequency and low-frequency group composed of groups, high-frequency group contains four frequencies each. A high-frequency signal and a low frequency signal is superimposed to form a combined signal representative of a number. DTMF signal has a 16 code. DTMF signaling to the appropriate use of the intercom call.)
    2014-10-30 17:22:37下载
    积分:1
  • copulaparam
    COPULAPARAM Copula 参数估计,及Kendall秩相关系数(COPULAPARAM Copula parameter, given Kendall s rank correlation)
    2013-06-23 20:58:59下载
    积分:1
  • main
    关于极限学习机在脑电信号中的应用的主程序表示说明(About extreme learning machine in the application of brain electrical signal of the main program said )
    2014-06-30 11:36:07下载
    积分:1
  • 3dfdtd
    fdtd 电磁计算 三维电磁仿真技术 电磁场计算 fdtd 算法(fdtd Em compute em field calculation )
    2014-02-09 17:16:19下载
    积分:1
  • LEACH_Matlab_Code
    matlab,V c++,代码实现,可以实现leach路由算法(use it in V c++)
    2012-04-27 11:35:41下载
    积分:1
  • comgt.0.32
    一个有关GMSK基带调制和实现的MATLAB程序,自己编写的,请高手指教! (on a GMSK baseband modulation and realization of the MATLAB program, the preparation of their own, experts advise.)
    2007-03-24 19:43:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载